44 #include <lifev/core/LifeV.hpp> 46 #include <lifev/core/fem/ReferenceElement.hpp> 91 const function_Type* phi,
92 const function_Type* dPhi,
93 const function_Type* d2Phi,
109 ASSERT ( M_boundaryMap != 0 ,
"No boundary map defined" );
148 template <
typename MeshType>
152 typedef typename MeshType::elementShape_Type elementShape_Type;
154 switch ( elementShape_Type::S_shape )
157 if ( elementShape_Type::S_numPoints == 1 )
163 ERROR_MSG (
"Geomap type not yet implemented" );
167 if ( elementShape_Type::S_numPoints == 2 )
173 ERROR_MSG (
"Geomap type not yet implemented" );
177 if ( elementShape_Type::S_numPoints == 8 )
183 ERROR_MSG (
"Geomap type not yet implemented" );
187 if ( elementShape_Type::S_numPoints == 4 )
193 ERROR_MSG (
"Geomap type not yet implemented" );
197 if ( elementShape_Type::S_numPoints == 3 )
203 ERROR_MSG (
"Geomap type not yet implemented" );
207 if ( elementShape_Type::S_numPoints == 4 )
213 ERROR_MSG (
"Geomap type not yet implemented" );
217 ERROR_MSG (
"Geomap type not yet implemented" );
GeometricMap - Structure for the geometrical mapping.
ReferenceElement - The basis class for the geometric mapping and the reference finite elements...
const GeometricMap geoLinearTetra("Linear mapping on a tetraedra", TETRA, 4, 3, fct_P1_3D, derfct_P1_3D, der2fct_P1_3D, refcoor_P1_3D, &geoLinearTria)
~GeometricMap()
Destructor.
const GeometricMap geoLinearTria("Linear mapping on a triangle", TRIANGLE, 3, 2, fct_P1_2D, derfct_P1_2D, der2fct_P1_2D, refcoor_P1_2D, &geoLinearSeg)
const GeometricMap geoQuadraticSeg("Quadratic mapping on a segment", LINE, 3, 1, fct_P2_1D, derfct_P2_1D, der2fct_P2_1D, refcoor_P2_1D, &geoLinearNode)
void updateInverseJacobian(const UInt &iQuadPt)
const GeometricMap & getGeometricMap(MeshType &)
const GeometricMap geoLinearNode("Mapping of a point", POINT, 1, 1, fct_P0_0D, derfct_P0_0D, der2fct_P0_0D, refcoor_P0_0D,(GeometricMap *) NULL)
const GeometricMap geoLinearSeg("Linear mapping on a segment", LINE, 2, 1, fct_P1_1D, derfct_P1_1D, der2fct_P1_1D, refcoor_P1_1D, &geoLinearNode)
const GeometricMap * M_boundaryMap
GeometricMap()
No empty constructor.
const GeometricMap geoBiquadraticHexa
GeometricMap(std::string name, ReferenceShapes shape, UInt nbDof, UInt nbLocalCoor, const function_Type *phi, const function_Type *dPhi, const function_Type *d2Phi, const Real *refCoor, const GeometricMap *bdMap)
Full Constructor of a geo map.
double Real
Generic real data.
const GeometricMap geoBiquadraticQuad("Biquadratic mapping on a quadrangle", QUAD, 9, 2, fct_Q2_2D, derfct_Q2_2D, der2fct_Q2_2D, refcoor_Q2_2D, &geoQuadraticSeg)
const GeometricMap geoBilinearHexa("Bilinear mapping on an hexaedra", HEXA, 8, 3, fct_Q1_3D, derfct_Q1_3D, der2fct_Q1_3D, refcoor_Q1_3D, &geoBilinearQuad)
const GeometricMap geoBilinearQuad("Bilinear mapping on a quadrangle", QUAD, 4, 2, fct_Q1_2D, derfct_Q1_2D, der2fct_Q1_2D, refcoor_Q1_2D, &geoLinearSeg)
GeometricMap(const GeometricMap &)
No copy constructor.
const GeometricMap & boundaryMap() const
return the natural mapping for the boundary of the element
uint32_type UInt
generic unsigned integer (used mainly for addressing)