dune-vtk 2.8
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::Vtk::CellType Struct Reference

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. More...
 
int permutation (int idx) const
 Return a permutation of Dune elemenr vertices to conform to VTK element numbering. More...
 
bool noPermutation () const
 

Detailed Description

Mapping of Dune geometry types to VTK cell types.

Member Enumeration Documentation

◆ Parametrization

Enumerator
LINEAR 
QUADRATIC 
LAGRANGE 

◆ Type

enum Dune::Vtk::CellType::Type : std::uint8_t
Enumerator
VERTEX 
LINE 
TRIANGLE 
POLYGON 
QUAD 
TETRA 
HEXAHEDRON 
WEDGE 
PYRAMID 
QUADRATIC_EDGE 
QUADRATIC_TRIANGLE 
QUADRATIC_QUAD 
QUADRATIC_TETRA 
QUADRATIC_HEXAHEDRON 
LAGRANGE_CURVE 
LAGRANGE_TRIANGLE 
LAGRANGE_QUADRILATERAL 
LAGRANGE_TETRAHEDRON 
LAGRANGE_HEXAHEDRON 
LAGRANGE_WEDGE 
LAGRANGE_PYRAMID 

Constructor & Destructor Documentation

◆ CellType()

Dune::Vtk::CellType::CellType ( GeometryType const &  t,
Parametrization  parametrization = LINEAR 
)

Member Function Documentation

◆ noPermutation()

bool Dune::Vtk::CellType::noPermutation ( ) const
inline

◆ permutation()

int Dune::Vtk::CellType::permutation ( int  idx) const
inline

Return a permutation of Dune elemenr vertices to conform to VTK element numbering.

◆ type()

std::uint8_t Dune::Vtk::CellType::type ( ) const
inline

Return VTK Cell type.


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