Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
moab::VtkElemType 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 <VtkUtil.hpp>

+ Collaboration diagram for moab::VtkElemType:

Public Attributes

const char * name
 String name for use in error messages. More...
 
unsigned vtk_type
 VTK integer type. More...
 
EntityType mb_type
 MOAB type. More...
 
unsigned num_nodes
 Number of nodes (0 for polygon) More...
 
const unsigned * node_order
 VTK element node ordering, indexed by the VTK node position and containing the corresponding MOAB node position. NOTE: This field is NULL if MOAB and VTK 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 VtkUtil.hpp.

Member Data Documentation

◆ mb_type

EntityType moab::VtkElemType::mb_type

MOAB type.

Definition at line 32 of file VtkUtil.hpp.

Referenced by moab::ReadVtk::vtk_read_unstructured_grid().

◆ name

const char* moab::VtkElemType::name

String name for use in error messages.

Definition at line 30 of file VtkUtil.hpp.

◆ node_order

const unsigned* moab::VtkElemType::node_order

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

Definition at line 34 of file VtkUtil.hpp.

Referenced by moab::ReadVtk::vtk_read_unstructured_grid(), and moab::WriteVtk::write_elems().

◆ num_nodes

unsigned moab::VtkElemType::num_nodes

Number of nodes (0 for polygon)

Definition at line 33 of file VtkUtil.hpp.

◆ vtk_type

unsigned moab::VtkElemType::vtk_type

VTK integer type.

Definition at line 31 of file VtkUtil.hpp.

Referenced by moab::WriteVtk::write_elems().


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