Helper class for converting between MFEM and VTK geometry types.
More...
#include <vtk.hpp>
|
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...
|
|
Helper class for converting between MFEM and VTK geometry types.
Note: The VTK element types defined are at: https://git.io/JvZLm
Definition at line 26 of file vtk.hpp.
int mfem::VTKGeometry::GetOrder |
( |
int |
vtk_geom, |
|
|
int |
npoints |
|
) |
| |
|
static |
For the given VTK geometry type and number of points, return the order of the element.
Definition at line 91 of file vtk.cpp.
bool mfem::VTKGeometry::IsLagrange |
( |
int |
vtk_geom | ) |
|
|
static |
Does the given VTK geometry type describe an arbitrary-order Lagrange element?
Definition at line 80 of file vtk.cpp.
bool mfem::VTKGeometry::IsQuadratic |
( |
int |
vtk_geom | ) |
|
|
static |
Does the given VTK geometry type describe a legacy quadratic element?
Definition at line 85 of file vtk.cpp.
const int mfem::VTKGeometry::BIQUADRATIC_QUADRATIC_PRISM = 32 |
|
static |
const int mfem::VTKGeometry::BIQUADRATIC_SQUARE = 28 |
|
static |
const int mfem::VTKGeometry::CUBE = 12 |
|
static |
const int mfem::VTKGeometry::HighOrderMap |
|
static |
Initial value:
Map from MFEM's Geometry::Type to arbitrary-order Lagrange VTK geometries.
Definition at line 77 of file vtk.hpp.
const int mfem::VTKGeometry::LAGRANGE_CUBE = 72 |
|
static |
const int mfem::VTKGeometry::LAGRANGE_PRISM = 73 |
|
static |
const int mfem::VTKGeometry::LAGRANGE_SEGMENT = 68 |
|
static |
const int mfem::VTKGeometry::LAGRANGE_SQUARE = 70 |
|
static |
const int mfem::VTKGeometry::LAGRANGE_TETRAHEDRON = 71 |
|
static |
const int mfem::VTKGeometry::LAGRANGE_TRIANGLE = 69 |
|
static |
const int mfem::VTKGeometry::Map |
|
static |
const int mfem::VTKGeometry::POINT = 1 |
|
static |
const int mfem::VTKGeometry::PRISM = 13 |
|
static |
const int mfem::VTKGeometry::PrismMap = {0, 2, 1, 3, 5, 4} |
|
static |
Permutation from MFEM's prism ordering to VTK's prism ordering.
Definition at line 65 of file vtk.hpp.
const int mfem::VTKGeometry::QUADRATIC_PRISM = 26 |
|
static |
const int mfem::VTKGeometry::QUADRATIC_SEGMENT = 21 |
|
static |
const int mfem::VTKGeometry::QUADRATIC_TETRAHEDRON = 24 |
|
static |
const int mfem::VTKGeometry::QUADRATIC_TRIANGLE = 22 |
|
static |
const int mfem::VTKGeometry::QuadraticMap |
|
static |
Initial value:
Map from MFEM's Geometry::Type to legacy quadratic VTK geometries/.
Definition at line 75 of file vtk.hpp.
const int mfem::VTKGeometry::SEGMENT = 3 |
|
static |
const int mfem::VTKGeometry::SQUARE = 9 |
|
static |
const int mfem::VTKGeometry::TETRAHEDRON = 10 |
|
static |
const int mfem::VTKGeometry::TRIANGLE = 5 |
|
static |
const int mfem::VTKGeometry::TRIQUADRATIC_CUBE = 29 |
|
static |
const int * mfem::VTKGeometry::VertexPermutation |
|
static |
Initial value:
Permutation from MFEM's vertex ordering to VTK's vertex ordering.
- Note
- If the MFEM and VTK orderings are the same, the vertex permutation will be NULL.
Definition at line 70 of file vtk.hpp.
The documentation for this struct was generated from the following files: