dune-vtk 2.8
|
Mapping of Dune geometry types to VTK cell types. More...
#include <dune/vtk/types.hh>
Public Types | |
enum | Parametrization { LINEAR = 1 , QUADRATIC = 2 , LAGRANGE = 3 } |
enum | Type : std::uint8_t { VERTEX = 1 , LINE = 3 , TRIANGLE = 5 , POLYGON = 7 , QUAD = 9 , TETRA = 10 , HEXAHEDRON = 12 , WEDGE = 13 , PYRAMID = 14 , QUADRATIC_EDGE = 21 , QUADRATIC_TRIANGLE = 22 , QUADRATIC_QUAD = 23 , QUADRATIC_TETRA = 24 , QUADRATIC_HEXAHEDRON = 25 , LAGRANGE_CURVE = 68 , LAGRANGE_TRIANGLE = 69 , LAGRANGE_QUADRILATERAL = 70 , LAGRANGE_TETRAHEDRON = 71 , LAGRANGE_HEXAHEDRON = 72 , LAGRANGE_WEDGE = 73 , LAGRANGE_PYRAMID = 74 } |
Public Member Functions | |
CellType (GeometryType const &t, Parametrization=LINEAR) | |
std::uint8_t | type () const |
Return VTK Cell type. | |
int | permutation (int idx) const |
Return a permutation of Dune elemenr vertices to conform to VTK element numbering. | |
bool | noPermutation () const |
Mapping of Dune geometry types to VTK cell types.
enum Dune::Vtk::CellType::Type : std::uint8_t |
Dune::Vtk::CellType::CellType | ( | GeometryType const & | t, |
Parametrization | parametrization = LINEAR |
||
) |
|
inline |
|
inline |
Return a permutation of Dune elemenr vertices to conform to VTK element numbering.
|
inline |
Return VTK Cell type.