36 #ifndef MESH_GEOMETRIC_MAP_HPP 37 #define MESH_GEOMETRIC_MAP_HPP 39 #include <lifev/core/LifeV.hpp> 41 #include <lifev/core/fem/GeometricMap.hpp> 43 #include <lifev/core/mesh/ElementShapes.hpp> 45 #include <boost/shared_ptr.hpp> 61 template <
typename Shape>
67 inline const GeometricMap& geometricMapFromElementShape<GeoPoint>()
73 inline const GeometricMap& geometricMapFromElementShape<LinearLine>()
79 inline const GeometricMap& geometricMapFromElementShape<LinearTriangle>()
85 inline const GeometricMap& geometricMapFromElementShape<LinearQuad>()
91 inline const GeometricMap& geometricMapFromElementShape<LinearTetra>()
97 inline const GeometricMap& geometricMapFromElementShape<LinearHexa>()
110 template <
typename MeshType>
113 return geometricMapFromElementShape<
typename MeshType::elementShape_Type>();
122 template <
typename MeshType>
125 return geometricMapFromElementShape<
typename MeshType::elementShape_Type>();
GeometricMap - Structure for the geometrical mapping.
const GeometricMap & geometricMapFromElementShape()
Generic implementation of the GeometricMapFromElementShape.
const GeometricMap geoLinearTetra("Linear mapping on a tetraedra", TETRA, 4, 3, fct_P1_3D, derfct_P1_3D, der2fct_P1_3D, refcoor_P1_3D, &geoLinearTria)
const GeometricMap geoLinearTria("Linear mapping on a triangle", TRIANGLE, 3, 2, fct_P1_2D, derfct_P1_2D, der2fct_P1_2D, refcoor_P1_2D, &geoLinearSeg)
void updateInverseJacobian(const UInt &iQuadPt)
const GeometricMap & geometricMapFromMesh(const std::shared_ptr< MeshType > &)
Function to get the map that goes with a mesh (version with mesh in argument)
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 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)
const GeometricMap & geometricMapFromMesh()
Function to get the map that goes with a mesh (version with template argument only) ...