24#ifndef _GEMA_XFEM_LUA_SUBELEMENT_H_
25#define _GEMA_XFEM_LUA_SUBELEMENT_H_
39 virtual const char* typeName()
const {
return "xfemSubElement"; }
50 int type (lua_State* L);
A proxy class to export XfemSubElement methods to the Lua environment.
Definition xfemLuaSubElement.h:34
XfemLuaSubElement(const XfemSubElement *se, GmMesh *mesh, const GmLogCategory &logger)
Constructor.
Definition xfemLuaSubElement.cpp:43
int type(lua_State *L)
Returns a string decribing the sub-element type ('quad4', 'quad9', 'tri3', etc)
Definition xfemLuaSubElement.cpp:74
int fracture(lua_State *L)
Returns a boolean decribing if the sub-element represents a fracture or not.
Definition xfemLuaSubElement.cpp:82
int nodeCoordinates(lua_State *L)
Returns a matrix object with sub-element natural node coordinates.
Definition xfemLuaSubElement.cpp:90
virtual void fillMetatable(lua_State *L, int index)
Prepares the object metatable for calling methods.
Definition xfemLuaSubElement.cpp:52
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:102
int nodeIndex(lua_State *L)
Given the sub-element's father element, a sub-element vertex index and a coordinate accessor,...
Definition xfemLuaSubElement.cpp:124
const XfemSubElement * subElement() const
Returns the wrapped sub-element.
Definition xfemLuaSubElement.h:47
int numGaussPoints(lua_State *L)
Returns the number of Gauss points tied to this subelement.
Definition xfemLuaSubElement.cpp:111
virtual void * getClassMetatableID()
Returns an unique identifier to identify an user object as a XfemLuaSubElement object.
Definition xfemLuaSubElement.h:44
const XfemSubElement * _se
The sub-element 'wrapped' by this proxy object.
Definition xfemLuaSubElement.h:58
A class used to represent an enriched element subelement, defining an integration region inside the e...
Definition xfemSubElement.h:39