38 #include <lifev/core/fem/ReferenceElement.hpp> 48 const function_Type* phi,
const function_Type* dPhi,
const function_Type* d2Phi,
49 const function_Type* divPhi,
const Real* refCoor ) :
75 std::vector<GeoVector> coordinates (M_nbDof, GeoVector (3) );
78 coordinates[i][0] = M_refCoor[3 * i];
79 coordinates[i][1] = M_refCoor[3 * i + 1];
80 coordinates[i][2] = M_refCoor[3 * i + 2];
const function_Type * M_phi
pointer on the basis functions
const function_Type * M_d2Phi
pointer on the second derivatives of the basis functions
ReferenceElement - The basis class for the geometric mapping and the reference finite elements...
std::vector< GeoVector > refCoor() const
return the coordinates of the reference element
void updateInverseJacobian(const UInt &iQuadPt)
const ReferenceShapes M_shape
geometrical shape of the element
const UInt M_nbLocalCoor
Number of local coordinates.
const std::string M_name
name of the reference element
virtual ~ReferenceElement()
Destructor.
const UInt M_nbDof
Total number of degrees of freedom.
const function_Type * M_dPhi
pointer on the derivatives of the basis functions
const UInt M_feDim
Number of dimension of the FE (1 for scalar FE, more for vectorial FE)
double Real
Generic real data.
const function_Type * M_divPhi
pointer on the divergence of the basis functions
ReferenceElement(std::string name, ReferenceShapes shape, UInt nbDof, UInt nbLocalCoor, UInt feDim, const function_Type *phi, const function_Type *dPhi, const function_Type *d2Phi, const function_Type *divPhi, const Real *refCoor)
Full constructor.
uint32_type UInt
generic unsigned integer (used mainly for addressing)
const Real * M_refCoor
reference coordinates. Order: xistd::placeholders::_1,etA_1,zetA_1,xistd::placeholders::_2,etA_2,zetA_2,...