24 #ifndef _GEMA_XFEM_LUA_SUBELEMENT_H_ 25 #define _GEMA_XFEM_LUA_SUBELEMENT_H_ 38 virtual const char* typeName()
const {
return "xfemSubElement"; }
49 int type (lua_State* L);
virtual void fillMetatable(lua_State *L, int index)
Prepares the object metatable for calling methods.
Definition: xfemLuaSubElement.cpp:50
int fracture(lua_State *L)
Returns a boolean decribing if the sub-element represents a fracture or not.
Definition: xfemLuaSubElement.cpp:80
int numGaussPoints(lua_State *L)
Returns the number of Gauss points tied to this subelement.
Definition: xfemLuaSubElement.cpp:109
const XfemSubElement * subElement() const
Returns the wrapped sub-element.
Definition: xfemLuaSubElement.h:46
A proxy class to export XfemSubElement methods to the Lua environment.
Definition: xfemLuaSubElement.h:32
int type(lua_State *L)
Returns a string decribing the sub-element type ('quad4', 'quad9', 'tri3', etc)
Definition: xfemLuaSubElement.cpp:72
int nodeCoordinates(lua_State *L)
Returns a matrix object with sub-element natural node coordinates.
Definition: xfemLuaSubElement.cpp:88
const XfemSubElement * _se
The sub-element 'wrapped' by this proxy object.
Definition: xfemLuaSubElement.h:57
A class used to represent an enriched element subelement, defining an integration region inside the e...
Definition: xfemSubElement.h:38
XfemLuaSubElement(const XfemSubElement *se, const GmLogCategory &logger)
Constructor.
Definition: xfemLuaSubElement.cpp:42
int firstGaussPoint(lua_State *L)
Returns the index of this subelement first Gauss point inside the element set of Gauss/integration po...
Definition: xfemLuaSubElement.cpp:100
int nodeIndex(lua_State *L)
Given the sub-element's father element, a sub-element vertex index and a coordinate accessor,...
Definition: xfemLuaSubElement.cpp:122
virtual void * getClassMetatableID()
Returns an unique identifier to identify an user object as a XfemLuaSubElement object.
Definition: xfemLuaSubElement.h:43