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 176 of file gmsh_io.h.

Member Function Documentation

◆ add_def()

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

Definition at line 179 of file gmsh_io.h.

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

180  {
181  out.insert(std::make_pair(eledef.type, eledef));
182  in.insert(std::make_pair(eledef.gmsh_type, eledef));
183  }
std::map< unsigned int, ElementDefinition > in
Definition: gmsh_io.h:186
std::map< ElemType, ElementDefinition > out
Definition: gmsh_io.h:185

Member Data Documentation

◆ in

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

Definition at line 186 of file gmsh_io.h.

Referenced by add_def().

◆ out

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

Definition at line 185 of file gmsh_io.h.

Referenced by add_def().


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