MFEM
v4.5.1
Finite element discretization library
|
Helper class for converting between MFEM and VTK geometry types. More...
#include <vtk.hpp>
Static Public Member Functions | |
static Geometry::Type | GetMFEMGeometry (int vtk_geom) |
Given a VTK geometry type, return the corresponding MFEM Geometry::Type. More... | |
static bool | IsLagrange (int vtk_geom) |
Does the given VTK geometry type describe an arbitrary-order Lagrange element? More... | |
static bool | IsQuadratic (int vtk_geom) |
Does the given VTK geometry type describe a legacy quadratic element? More... | |
static int | GetOrder (int vtk_geom, int npoints) |
For the given VTK geometry type and number of points, return the order of the element. More... | |
Static Public Attributes | |
static const int | PrismMap [6] = {0, 2, 1, 3, 5, 4} |
Permutation from MFEM's prism ordering to VTK's prism ordering. More... | |
static const int * | VertexPermutation [Geometry::NUM_GEOMETRIES] |
Permutation from MFEM's vertex ordering to VTK's vertex ordering. More... | |
static const int | Map [Geometry::NUM_GEOMETRIES] |
Map from MFEM's Geometry::Type to linear VTK geometries. More... | |
static const int | QuadraticMap [Geometry::NUM_GEOMETRIES] |
Map from MFEM's Geometry::Type to legacy quadratic VTK geometries/. More... | |
static const int | HighOrderMap [Geometry::NUM_GEOMETRIES] |
Map from MFEM's Geometry::Type to arbitrary-order Lagrange VTK geometries. More... | |
VTK geometry types | |
static const int | POINT = 1 |
Low-order (linear, straight-sided) VTK geometric types | |
static const int | SEGMENT = 3 |
static const int | TRIANGLE = 5 |
static const int | SQUARE = 9 |
static const int | TETRAHEDRON = 10 |
static const int | CUBE = 12 |
static const int | PRISM = 13 |
static const int | PYRAMID = 14 |
Legacy quadratic VTK geometric types | |
static const int | QUADRATIC_SEGMENT = 21 |
static const int | QUADRATIC_TRIANGLE = 22 |
static const int | BIQUADRATIC_SQUARE = 28 |
static const int | QUADRATIC_TETRAHEDRON = 24 |
static const int | TRIQUADRATIC_CUBE = 29 |
static const int | QUADRATIC_PRISM = 26 |
static const int | BIQUADRATIC_QUADRATIC_PRISM = 32 |
static const int | QUADRATIC_PYRAMID = 27 |
Arbitrary-order VTK geometric types | |
static const int | LAGRANGE_SEGMENT = 68 |
static const int | LAGRANGE_TRIANGLE = 69 |
static const int | LAGRANGE_SQUARE = 70 |
static const int | LAGRANGE_TETRAHEDRON = 71 |
static const int | LAGRANGE_CUBE = 72 |
static const int | LAGRANGE_PRISM = 73 |
static const int | LAGRANGE_PYRAMID = 74 |
Helper class for converting between MFEM and VTK geometry types.
Note: The VTK element types defined are at: https://git.io/JvZLm
|
static |
Given a VTK geometry type, return the corresponding MFEM Geometry::Type.
|
static |
|
static |
|
static |
|
static |
|
static |
Map from MFEM's Geometry::Type to arbitrary-order Lagrange VTK geometries.
|
static |
|
static |
|
static |
|
static |
|
static |
Map from MFEM's Geometry::Type to legacy quadratic VTK geometries/.
|
static |
Permutation from MFEM's vertex ordering to VTK's vertex ordering.