Xfem
The Xfem Plugin
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
XfemLuaSubElement Class Reference

A proxy class to export XfemSubElement methods to the Lua environment. More...

#include <xfemLuaSubElement.h>

Inheritance diagram for XfemLuaSubElement:
Inheritance graph
[legend]
Collaboration diagram for XfemLuaSubElement:
Collaboration graph
[legend]

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 XfemSubElementsubElement () 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
 

Detailed Description

A proxy class to export XfemSubElement methods to the Lua environment.


The documentation for this class was generated from the following files: