MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Namespaces | Functions
gmsh.cpp File Reference

Go to the source code of this file.

Namespaces

 mfem
 

Functions

int mfem::BarycentricToGmshTet (int *b, int ref)
 
int mfem::CartesianToGmshQuad (int idx_in[], int ref)
 
int mfem::CartesianToGmshHex (int idx_in[], int ref)
 
int mfem::WedgeToGmshPri (int idx_in[], int ref)
 
int mfem::CartesianToGmshPyramid (int idx_in[], int ref)
 
Gmsh High-Order Vertex Mappings

These functions generate the mappings needed to translate the order of Gmsh's high-order vertices into MFEM's L2 degree of freedom ordering. The mapping is defined so that MFEM_DoF[i] = Gmsh_Vert[map[i]]. The map array must already be allocated with the proper number of entries for the element type at the given element order.

void mfem::GmshHOSegmentMapping (int order, int *map)
 Generate Gmsh vertex mapping for a Segment. More...
 
void mfem::GmshHOTriangleMapping (int order, int *map)
 Generate Gmsh vertex mapping for a Triangle. More...
 
void mfem::GmshHOQuadrilateralMapping (int order, int *map)
 Generate Gmsh vertex mapping for a Quadrilateral. More...
 
void mfem::GmshHOTetrahedronMapping (int order, int *map)
 Generate Gmsh vertex mapping for a Tetrahedron. More...
 
void mfem::GmshHOHexahedronMapping (int order, int *map)
 Generate Gmsh vertex mapping for a Hexahedron. More...
 
void mfem::GmshHOWedgeMapping (int order, int *map)
 Generate Gmsh vertex mapping for a Wedge. More...
 
void mfem::GmshHOPyramidMapping (int order, int *map)
 Generate Gmsh vertex mapping for a Pyramid. More...