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))
67template <
class Base,
class Proxy,
class CellMeshData, GmCellType T,
int N>
class XfemGemaElement
virtual const GmShape * linearShape() const
void replaceCellId(int id, bool keepActiveFlag)
Basic interface for an XFEM element.
Definition xfemElement.h:44
const GmShape * enrichmentShape() const
Returns a shape function object used in the element enrichment.
Definition xfemElement.h:56
virtual bool enriched() const =0
Returns true if this element has been enriched, false when not.
virtual void setEnriched(bool mode)=0
Marks the element as enriched or not.
Basic implementation for an Xfem element, based on a "standard" GeMA mesh element.
Definition xfemElement.h:69
virtual void setEnriched(bool mode)
Marks the element as enriched or not.
Definition xfemElement.h:84
XfemGemaElement(int meshId, int id, int offset)
Constructor.
Definition xfemElement.h:72
virtual bool enriched() const
Returns true if this element has been enriched, false when not.
Definition xfemElement.h:79
Basic class for a XFEM mesh. This is the basic mesh interface for xfem problems adding enrichment cap...
Definition xfemMesh.h:50
Declaration of useful configuration definitions for the plugin library.
#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
Declaration of the XfemLuaElement class.