24#ifndef _GEMALUA_CELL_H_
25#define _GEMALUA_CELL_H_
44 virtual const char*
typeName()
const {
return "cell"; }
57 int id (lua_State* L);
58 int mesh (lua_State* L);
59 int type (lua_State* L);
60 int active (lua_State* L);
61 int geometry (lua_State* L);
62 int numNodes (lua_State* L);
63 int numGhostNodes (lua_State* L);
64 int totalNumNodes (lua_State* L);
65 int nodeIndex (lua_State* L);
66 int nodes (lua_State* L);
67 int propertyIndex (lua_State* L);
68 int fillNodeMatrix (lua_State* L);
69 int fillFaceNodeMatrix (lua_State* L);
70 int fillEdgeNodeMatrix (lua_State* L);
71 int fillDeformedNodeMatrix (lua_State* L);
72 int fillDeformedFaceNodeMatrix(lua_State* L);
73 int fillDeformedEdgeNodeMatrix(lua_State* L);
74 int setActive (lua_State* L);
75 int setNodes (lua_State* L);
76 int addGhostNode (lua_State* L);
77 int removeGhostNode (lua_State* L);
78 int setProperties (lua_State* L);
79 int adjacentCell (lua_State* L);
80 int length (lua_State* L);
81 int area (lua_State* L);
82 int volume (lua_State* L);
83 int characteristicLength (lua_State* L);
84 int characteristicDimension (lua_State* L);
85 int centroidCartesian (lua_State* L);
86 int isValid (lua_State* L);
87 int quality (lua_State* L);
91 int* index,
bool* transposed,
GmCellFillMode* mode,
const char* fname);
113 virtual const char*
typeName()
const {
return "element"; }
121 int shape (lua_State* L);
122 int linearShape (lua_State* L);
123 int naturalCenter(lua_State* L);
133 virtual const char*
typeName()
const {
return "helement"; }
141 int hPOrder(lua_State* L);
142 int hQOrder(lua_State* L);
A proxy class to export GmCell methods to the Lua environment.
Definition gmLuaCell.h:37
int _cellId
The id of the cell wrapped by this proxy object.
Definition gmLuaCell.h:101
GmCellMesh * _mesh
The mesh to wich theis cell id belongs.
Definition gmLuaCell.h:102
GmCell * cell() const
Returns the wrapped cell.
Definition gmLuaCell.h:54
virtual const char * typeName() const
Returns the object type as will be stored in the object metatable.
Definition gmLuaCell.h:44
virtual void * getClassMetatableID()
Returns an unique identifier to identify an user object as a GmLuaMesh object.
Definition gmLuaCell.h:51
A proxy class to export GmElement methods to the Lua environment.
Definition gmLuaCell.h:108
virtual void * getClassMetatableID()
Returns an unique identifier to identify an user object as a GmLuaMesh object.
Definition gmLuaCell.h:118
virtual const char * typeName() const
Returns the object type as will be stored in the object metatable.
Definition gmLuaCell.h:113
A proxy class to export GmHElement methods to the Lua environment.
Definition gmLuaCell.h:128
virtual void * getClassMetatableID()
Returns an unique identifier to identify an user object as a GmLuaMesh object.
Definition gmLuaCell.h:138
virtual const char * typeName() const
Returns the object type as will be stored in the object metatable.
Definition gmLuaCell.h:133
A proxy class to export GmMatrix and GmVector methods to the Lua environment.
Definition gmLuaMatrix.h:36
A proxy class to export object methods to the Lua environment.
Definition gmLuaObject.h:36
virtual QString toString() const
Default method used by the __tostring metamethod to capture the result of tostring() over an object.
Definition gmLuaObject.h:55
virtual void fillMetatable(lua_State *L, int index)=0
Function called by populateMetatable() to fill the metatable with exported methods by derived classes...
Declaration of the function used to prepare an environment with the core Lua functions.
Declaration of the GmLuaObject class.