libMesh
Public Member Functions | Public Attributes | List of all members
libMesh::GmshIO::ElementMaps Struct Reference

struct which holds a map from Gmsh to libMesh element numberings and vice-versa. More...

Public Member Functions

void add_def (const ElementDefinition &eledef)
 

Public Attributes

std::map< ElemType, ElementDefinitionout
 
std::map< unsigned int, ElementDefinitionin
 

Detailed Description

struct which holds a map from Gmsh to libMesh element numberings and vice-versa.

Definition at line 183 of file gmsh_io.h.

Member Function Documentation

◆ add_def()

void libMesh::GmshIO::ElementMaps::add_def ( const ElementDefinition eledef)

Definition at line 186 of file gmsh_io.h.

References libMesh::GmshIO::ElementDefinition::gmsh_type, in, out, and libMesh::GmshIO::ElementDefinition::type.

187  {
188  out.insert(std::make_pair(eledef.type, eledef));
189  in.insert(std::make_pair(eledef.gmsh_type, eledef));
190  }
std::map< unsigned int, ElementDefinition > in
Definition: gmsh_io.h:193
std::map< ElemType, ElementDefinition > out
Definition: gmsh_io.h:192

Member Data Documentation

◆ in

std::map<unsigned int, ElementDefinition> libMesh::GmshIO::ElementMaps::in

Definition at line 193 of file gmsh_io.h.

Referenced by add_def().

◆ out

std::map<ElemType, ElementDefinition> libMesh::GmshIO::ElementMaps::out

Definition at line 192 of file gmsh_io.h.

Referenced by add_def().


The documentation for this struct was generated from the following file: