![]() |
GeMA
The GeMA main application
|
Mesh objects are a Lua wrapper over a GeMA mesh providing a rich set of methods for querying and updating mesh properties. Those include querying and updating node and cell geometry, as well as data associated to them. Different kinds of meshes are represented by different wrapper types, with different sets of methods. Available mesh types are: 'mesh', 'cellMesh', 'elementMesh' and 'regularGridMesh'. The first, includes all generic mesh operations and node related operations. The second, extends mesh with cell related operations. Element meshes extend cell meshes with operations related to Gauss attributes and integration rules. The last one, regular mesh, extends the original mesh with regular grid operations.
Mesh objects can be obtained in the orchestration by calling modelData:
mesh()
, and its type can be queried by using the standard Lua type()
function.
Example:
Index: