General data about GMsh files for use by read and write code. More...
#include <GmshUtil.hpp>
Static Public Member Functions | |
static int | get_gmsh_type (EntityType type, unsigned num_nodes) |
Get the Gmsh type corresponding to a tuple of the MOAB type and number of nodes. num_nodes is ignored for MBPOLYGON type. Returns -1 for unsupported types. More... | |
Static Public Attributes | |
static const GmshElemType | gmshElemTypes [] |
Gmsh types, indexed by Gmsh type number. For unused Gmsh type numbers, mb_type will be MBMAXTYPE. More... | |
static const unsigned | numGmshElemType = sizeof( GmshUtil::gmshElemTypes ) / sizeof( GmshUtil::gmshElemTypes[0] ) |
Length of gmshElemTypes. More... | |
General data about GMsh files for use by read and write code.
Definition at line 43 of file GmshUtil.hpp.
|
static |
Get the Gmsh type corresponding to a tuple of the MOAB type and number of nodes. num_nodes is ignored for MBPOLYGON type. Returns -1 for unsupported types.
Definition at line 102 of file GmshUtil.cpp.
References gmshElemTypes, moab::MAX_NODES, moab::mb_to_gmsh_type, moab::GmshElemType::mb_type, and MBMAXTYPE.
Referenced by moab::WriteGmsh::write_file().
|
static |
Gmsh types, indexed by Gmsh type number. For unused Gmsh type numbers, mb_type will be MBMAXTYPE.
Definition at line 49 of file GmshUtil.hpp.
Referenced by get_gmsh_type(), moab::ReadGmsh::load_file(), and moab::WriteGmsh::write_file().
|
static |
Length of gmshElemTypes.
Definition at line 52 of file GmshUtil.hpp.
Referenced by moab::ReadGmsh::load_file().