libMesh::GmshIO::ElementDefinition Struct Reference

Public Member Functions

 ElementDefinition (ElemType type_in, unsigned gmsh_type_in, unsigned dim_in, unsigned nnodes_in)
 

Public Attributes

ElemType type
 
unsigned int gmsh_type
 
unsigned int dim
 
unsigned int nnodes
 
std::vector< unsigned int > nodes
 

Detailed Description

Defines mapping from libMesh element types to Gmsh element types or vice-versa.

Definition at line 153 of file gmsh_io.h.

Constructor & Destructor Documentation

◆ ElementDefinition()

libMesh::GmshIO::ElementDefinition::ElementDefinition ( ElemType  type_in,
unsigned  gmsh_type_in,
unsigned  dim_in,
unsigned  nnodes_in 
)
inline

Definition at line 155 of file gmsh_io.h.

158  :
159  type(type_in),
160  gmsh_type(gmsh_type_in),
161  dim(dim_in),
162  nnodes(nnodes_in)
163  {}

Member Data Documentation

◆ dim

unsigned int libMesh::GmshIO::ElementDefinition::dim

Definition at line 167 of file gmsh_io.h.

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

◆ gmsh_type

unsigned int libMesh::GmshIO::ElementDefinition::gmsh_type

◆ nnodes

unsigned int libMesh::GmshIO::ElementDefinition::nnodes

Definition at line 168 of file gmsh_io.h.

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

◆ nodes

std::vector<unsigned int> libMesh::GmshIO::ElementDefinition::nodes

◆ type

ElemType libMesh::GmshIO::ElementDefinition::type

Definition at line 165 of file gmsh_io.h.

Referenced by libMesh::GmshIO::ElementMaps::add_def(), and libMesh::GmshIO::read_mesh().


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