![]() |
Xfem
The Xfem Plugin
|
A proxy class to export XfemSubElement methods to the Lua environment. More...
#include <xfemLuaSubElement.h>


Public Member Functions | |
| XfemLuaSubElement (const XfemSubElement *se, const GmLogCategory &logger) | |
| Constructor. | |
| virtual const char * | typeName () const |
| virtual void | fillMetatable (lua_State *L, int index) |
| Prepares the object metatable for calling methods. | |
| virtual void * | getClassMetatableID () |
| Returns an unique identifier to identify an user object as a XfemLuaSubElement object. | |
| const XfemSubElement * | subElement () const |
| Returns the wrapped sub-element. | |
Public Member Functions inherited from GmLuaObject | |
| virtual void | populateMetatable (lua_State *L, int index) |
| QVariant | ptrToVariant () |
| void | ref () |
Protected Attributes | |
| const XfemSubElement * | _se |
| The sub-element 'wrapped' by this proxy object. | |
Protected Attributes inherited from GmLuaObject | |
| const GmLogCategory & | _logger |
| QAtomicInteger< int > | _refCount |
Private Member Functions | |
| int | type (lua_State *L) |
| Returns a string decribing the sub-element type ('quad4', 'quad9', 'tri3', etc) | |
| int | fracture (lua_State *L) |
| Returns a boolean decribing if the sub-element represents a fracture or not. | |
| int | nodeCoordinates (lua_State *L) |
| Returns a matrix object with sub-element natural node coordinates. | |
| int | firstGaussPoint (lua_State *L) |
| Returns the index of this subelement first Gauss point inside the element set of Gauss/integration points. | |
| int | numGaussPoints (lua_State *L) |
| Returns the number of Gauss points tied to this subelement. | |
| int | nodeIndex (lua_State *L) |
| Given the sub-element's father element, a sub-element vertex index and a coordinate accessor, returns the global mesh index of that vertex. For ghost nodes, the returned indices are ghost indices (with the high bit set). If the vertex is not a mesh node, returns nil. | |
Additional Inherited Members | |
Protected Member Functions inherited from GmLuaObject | |
| GmLuaObject (const GmLogCategory &logger) | |
| virtual QString | toString () const |
A proxy class to export XfemSubElement methods to the Lua environment.
1.8.15