24 #ifndef _GEMA_XFEM_SUBELEMENT_H_ 25 #define _GEMA_XFEM_SUBELEMENT_H_ 33 #define XFEM_SUBELEMENT_FRACTURE_MASK (~(~0u >> 1)) int firstGaussPoint() const
Returns the index of this subelements first Gauss point. For regular subelements, this is also the in...
Definition: xfemSubElement.h:61
bool fracture() const
Returns true if this is a sub-element used to represent the fracture (discontinuity) itself.
Definition: xfemSubElement.h:48
XfemSubElement(GmCellType type, bool fracture, const GmMatrix &nodeNaturalCoordinates)
Subelement constructor.
Definition: xfemSubElement.cpp:69
GmMatrix _naturalCoords
The set of nodes defining the subelement geometry. Coordinates are given in father natural coordinate...
Definition: xfemSubElement.h:72
Basic interface for an XFEM element.
Definition: xfemElement.h:43
int _typeFracture
The sub element type combined with a flag in its MSB to tell if this is a fracture sub-element or not...
Definition: xfemSubElement.h:71
int _numGp
The number of Gauss points for this subelement.
Definition: xfemSubElement.h:74
const GmMatrix & nodeCoordinates() const
Returns the subelement node coordinates, given in the father element natural coordinate system....
Definition: xfemSubElement.h:56
int _firstGp
The index of this subelement first Gauss point inside the element.
Definition: xfemSubElement.h:73
int nodeIndex(const XfemElement *e, int index, GmValueAccessor *coordAc, bool *ok) const
Given the sub-element's father element, and a sub-element vertex index (a value between 0 and the num...
Definition: xfemSubElement.cpp:92
int numGaussPoints() const
Returns the number of Gauss/integration points tied to this subelement.
Definition: xfemSubElement.h:64
GmCellType type() const
Returns the subelement type.
Definition: xfemSubElement.h:45
A class used to represent an enriched element subelement, defining an integration region inside the e...
Definition: xfemSubElement.h:38
#define XFEM_SUBELEMENT_FRACTURE_MASK
Mask with 1 on the MSB to tell if the subelement is a fracture (MSB = 1) or not (MSB = 0)
Definition: xfemSubElement.h:33
A class used to store per element data needed only in enriched elements.
Definition: xfemEnrichedElementData.h:37