24 #ifndef _GEMA_XFEM_ELEMENT_H_ 25 #define _GEMA_XFEM_ELEMENT_H_ 40 #define XFEM_ELEMENT_ENRICHED_MASK ((~(~0u >> 1)) >> (32 - GMP_GEMAMESH_CELL_ID_BITS)) 71 :
public GmpGemaGhostCell<XfemElement, XfemLuaElement, GmpGemaCellMeshData<XfemVector>, T, N, VN>
XfemGemaElement(GmCellMesh *mesh, int meshId, int id, int offset)
Constructor.
Definition: xfemElement.h:75
virtual void setEnriched(bool mode)=0
Marks the element as enriched or not.
const GmShape * enrichmentShape() const
Returns a shape function object used in the element enrichment.
Definition: xfemElement.h:56
virtual void setEnriched(bool mode)
Marks the element as enriched or not.
Definition: xfemElement.h:87
Basic interface for an XFEM element.
Definition: xfemElement.h:43
Basic class for a XFEM mesh. This is the basic mesh interface for xfem problems adding enrichment cap...
Definition: xfemMesh.h:49
#define XfemVector
XfemVector is a define and not an "using" clause to avoid linking errors arising from instancing Gema...
Definition: xfemConfig.h:43
#define XFEM_ELEMENT_ENRICHED_MASK
Mask with 1 on the most significant bit of the cell id to tell if the element has been enriched or no...
Definition: xfemElement.h:40
virtual bool enriched() const =0
Returns true if this element has been enriched, false when not.
virtual bool enriched() const
Returns true if this element has been enriched, false when not.
Definition: xfemElement.h:82
Basic implementation for an Xfem element, based on a "standard" GeMA mesh element.
Definition: xfemElement.h:70
Declaration of the XfemLuaElement class.
Declaration of usefull configuration definitions for the plugin library.
A proxy class to export XfemElement methods to the Lua environment.
Definition: xfemLuaElement.h:32
virtual const GmShape * linearShape() const