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

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

Definition at line 179 of file gmsh_io.h.

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

Referenced by libMesh::GmshIO::build_element_maps().

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

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

Definition at line 186 of file gmsh_io.h.

Referenced by libMesh::GmshIO::build_element_maps(), and libMesh::GmshIO::read_mesh().

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

Definition at line 185 of file gmsh_io.h.

Referenced by libMesh::GmshIO::write_mesh().

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