CepsCellType
Enum for different shapes of cells.
std::vector< _Type, _Alloc > CepsVector
C++ vector.
std::make_unsigned_t< CepsInt > CepsUInt
Unsigned version on CepsInt.
float CepsReal
Need single precision floating point.
Eigen::Matrix< CepsScalar, 3, 1 > CepsMathVertex
Vertex, eigen format.
CepsArray3< CepsReal > CepsReal3D
Three real scalars, used like this for compatibility in polynomials.
Abstract class for finite elements.
FEBase()=delete
Deleted default construtcor.
CepsUInt getNumberOfDofs() const
Number of DoFs.
void setGeomObject(GeomCell *object, CepsBool owned=false) override
Set the geom object.
const CepsVector< CepsReal3D > & getBasisVertices() const
Direct access to positionning coefficients.
FEBase & operator=(const FEBase &that)
Copy assignement.
CepsMathVertex getOrigin() const
Access to coordinate of the first node (the origin node) as eigen object.
const GeomCell::JacobianMatrixType & getJacobianMatrix() const
Jacobian matrix from the geometrical element.
~FEBase() override
Destructor.
CepsUInt getPolynomialOrder() const
Polynomial order.
FEBase(const FEBase &that)=default
Copy constructor.
CepsReal getJacobianDeterminant() const
Jacobian determinant from the geometrical element.
CepsReal getMeasure() const
Size of the element.
const CepsReal3D & getBasisVertex(CepsUInt i) const
Direct access to positionning coefficients.
const GeomCell::InverseJacobianMatrixType & getInverseJacobian() const
Inverse of the jacobian matrix from the geometrical element.
ReferenceFE * getReferenceElement() const
Pointer on Reference element.
ReferenceFE * m_reference
Link to reference element.
CepsCellType getCellType() const
Cell type.
A nodal point on a finite element. It is different from a geom node as it may have different properti...
Abstract class for geometrical cell. On top of index and attributes managament, the cell has informat...
Eigen::Matrix< CepsReal, 3, Eigen::Dynamic > JacobianMatrixType
Typedef for jaccobian matrix.
Eigen::Matrix< CepsReal, Eigen::Dynamic, 3 > InverseJacobianMatrixType
Typedef for inverse jaccobian matrix.
Base class for reference finite elements.
An abstract class for objects that regroup pointers to cells (eg a mesh, a finite elements discretiza...
For objects that have pointers to either a node or a cell.