24#ifndef _GEMA_ELEMENT_H_
25#define _GEMA_ELEMENT_H_
55 shape()->naturalCenter(coord);
60 virtual bool borderNormalIsConstant(
int border)
const;
A class used to return static metadata information about a cell geometry, along with some methods for...
Definition gmCellGeometry.h:55
Base interface for mesh cells.
Definition gmCell.h:88
virtual GmCellType type() const =0
Returns the cell type.
Base interface for FEM (finite element) mesh elements.
Definition gmElement.h:38
virtual void naturalCenter(GmVector &coord) const
Definition gmElement.h:53
virtual const GmShape * linearShape() const
For quadratic elements, returns the shape function of the equivalent linear element....
Definition gmElement.h:46
virtual const GmShape * shape() const
Returns a shape function object corresponding to the current element type.
Definition gmElement.h:41
The GmGaussAccessor class is a proxy object to a value accessor implementing a more convenient interf...
Definition gmGaussAccessor.h:39
Hierarchical element.
Definition gmElement.h:68
virtual const GmShape * linearShape() const
See comments on the base class.
Definition gmElement.h:83
virtual GmCellGeometry geometry() const
See comments on the base class.
Definition gmElement.h:77
virtual int hQOrder() const =0
Returns the element Q order. This is really a mesh parameter that can be queried through the element ...
virtual const GmShape * shape() const
See comments on the base class.
Definition gmElement.h:80
virtual int hPOrder() const =0
Returns the element P order. This is really a mesh parameter that can be queried through the element ...
Integration rule base classe.
Definition gmIntegrationRule.h:89
Shape function handling base classe.
Definition gmShape.h:38
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:1054
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:1094
Interface class for accessing and setting values from an "indexable" collection of values.
Definition gmValueAccessor.h:60
Declaration of the GmCell class.
#define GMC_API_EXPORT
Macro for controlling if the class is being exported (GEMA_CORE_LIB defined) or imported (GEMA_CORE_L...
Definition gmCoreConfig.h:35
Declaration of the GmShape base class.
arma::vec GmVector
The basic type for a GeMA vector object. Currently based on an Armadillo vector.
Definition gmVector.h:34