Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
moab::GmshElemType Struct Reference

Structure defining relation between MOAB and VTK element types. VTK had different types for quadratic than linear elements, so a tuple of the MOAB type and number of elements maps to a VTK type. More...

#include <GmshUtil.hpp>

+ Collaboration diagram for moab::GmshElemType:

Public Attributes

const char * name
 String name for use in error messages. More...
 
unsigned gmsh_type
 GMsh integer type. More...
 
EntityType mb_type
 MOAB type. More...
 
unsigned num_nodes
 Number of nodes (0 for polygon) More...
 
const int * node_order
 Gmsh element node ordering, indexed by the Gmsh node position and containing the corresponding MOAB node position. NOTE: This field is NULL if MOAB and Gmsh ordering is the same! More...
 

Detailed Description

Structure defining relation between MOAB and VTK element types. VTK had different types for quadratic than linear elements, so a tuple of the MOAB type and number of elements maps to a VTK type.

Definition at line 28 of file GmshUtil.hpp.

Member Data Documentation

◆ gmsh_type

unsigned moab::GmshElemType::gmsh_type

GMsh integer type.

Definition at line 31 of file GmshUtil.hpp.

◆ mb_type

EntityType moab::GmshElemType::mb_type

MOAB type.

Definition at line 32 of file GmshUtil.hpp.

Referenced by moab::ReadGmsh::create_elements(), and moab::GmshUtil::get_gmsh_type().

◆ name

const char* moab::GmshElemType::name

String name for use in error messages.

Definition at line 30 of file GmshUtil.hpp.

◆ node_order

const int* moab::GmshElemType::node_order

Gmsh element node ordering, indexed by the Gmsh node position and containing the corresponding MOAB node position. NOTE: This field is NULL if MOAB and Gmsh ordering is the same!

Definition at line 34 of file GmshUtil.hpp.

Referenced by moab::ReadGmsh::create_elements(), and moab::WriteGmsh::write_file().

◆ num_nodes

unsigned moab::GmshElemType::num_nodes

Number of nodes (0 for polygon)

Definition at line 33 of file GmshUtil.hpp.

Referenced by moab::ReadGmsh::create_elements().


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