24 #ifndef _GEMA_ELEMENT_H_ 25 #define _GEMA_ELEMENT_H_ 55 shape()->naturalCenter(coord);
60 virtual bool borderNormalIsConstant(
int border)
const;
71 virtual int hPOrder()
const = 0;
74 virtual int hQOrder()
const = 0;
Base interface for FEM (finite element) mesh elements.
Definition: gmElement.h:37
The GmGaussAccessor class is a proxy object to a value accesor implementing a more convenient interfa...
Definition: gmGaussAccessor.h:38
Base interface for mesh cells.
Definition: gmCell.h:81
virtual const GmShape * shape() const
Returns a shape function object corresponding to the current element type.
Definition: gmElement.h:41
static const GmShape * linearShapeFromElementType(GmCellType etype, int P, int Q)
Returns a linear shape object suitable for handling elements of type etype. Parameters P and Q are ne...
Definition: gmShape.cpp:1052
Interface class for accessing and setting values from an "indexable" collection of values.
Definition: gmValueAccessor.h:59
A class used to return static metadata information about a cell geometry, along with some methods for...
Definition: gmCellGeometry.h:54
Integration rule base classe.
Definition: gmIntegrationRule.h:88
Shape function handling base classe.
Definition: gmShape.h:37
virtual const GmShape * shape() const
See comments on the base class.
Definition: gmElement.h:80
virtual const GmShape * linearShape() const
See comments on the base class.
Definition: gmElement.h:83
virtual GmCellType type() const =0
Returns the cell type.
#define GMC_API_EXPORT
Macro for controling if the class is being exported (GEMA_CORE_LIB defined) or imported (GEMA_CORE_LI...
Definition: gmCoreConfig.h:35
static const GmShape * shapeFromElementType(GmCellType etype, int P, int Q)
Returns a shape object suitable for handling elements of type etype. Parameters P and Q are needed on...
Definition: gmShape.cpp:1012
Hierarchical element.
Definition: gmElement.h:67
virtual GmCellGeometry geometry() const
See comments on the base class.
Definition: gmElement.h:77
virtual void naturalCenter(GmVector &coord) const
Definition: gmElement.h:53
Declaration of the GmCell class.
arma::vec GmVector
The basic type for a GeMA vector object. Currently based on an Armadillo vector.
Definition: gmVector.h:34
Declaration of the GmShape base class.
virtual const GmShape * linearShape() const
For quadratic elements, returns the shape function of the equivalent linear element....
Definition: gmElement.h:46