dune-vtk  0.2
Classes | Namespaces | Enumerations | Functions
types.hh File Reference
#include <cstdint>
#include <map>
#include <string>
#include <vector>
#include <dune/common/ftraits.hh>
#include <dune/common/typelist.hh>
#include <dune/common/version.hh>
#include <dune/geometry/type.hh>
#include <dune/grid/io/file/vtk/common.hh>
#include <dune/vtk/utility/arguments.hh>
#include <dune/vtk/utility/errors.hh>

Go to the source code of this file.

Classes

struct  Dune::Vtk::NoConstraint< class >
 
class  Dune::Vtk::CellType
 Mapping of Dune geometry types to VTK cell types. More...
 
class  Dune::Vtk::FieldInfo
 

Namespaces

 Dune
 
 Dune::Vtk
 

Enumerations

enum  Dune::Vtk::FormatTypes { Dune::Vtk::ASCII = 1<<0 , Dune::Vtk::BINARY = 1<<1 , Dune::Vtk::COMPRESSED = 1<<2 , Dune::Vtk::APPENDED = BINARY | COMPRESSED }
 Type used for representing the output format. More...
 
enum class  Dune::Vtk::RangeTypes {
  Dune::Vtk::UNSPECIFIED , Dune::Vtk::AUTO , Dune::Vtk::SCALAR , Dune::Vtk::VECTOR ,
  Dune::Vtk::TENSOR
}
 Type used to determine whether to limit output components to e.g. 3 (vector), or 9 (tensor) More...
 
enum  Dune::Vtk::DataTypes {
  Dune::Vtk::UNKNOWN = 0 , Dune::Vtk::INT8 , Dune::Vtk::UINT8 , Dune::Vtk::INT16 ,
  Dune::Vtk::UINT16 , Dune::Vtk::INT32 , Dune::Vtk::UINT32 , Dune::Vtk::INT64 ,
  Dune::Vtk::UINT64 , Dune::Vtk::FLOAT32 = 32 , Dune::Vtk::FLOAT64 = 64
}
 
enum  Dune::Vtk::CompressorTypes { Dune::Vtk::NONE = 0 , Dune::Vtk::ZLIB , Dune::Vtk::LZ4 , Dune::Vtk::LZMA }
 
enum  Dune::Vtk::CellParametrization { Dune::Vtk::LINEAR , Dune::Vtk::QUADRATIC , Dune::Vtk::LAGRANGE }
 
enum  Dune::Vtk::CellTypes : std::uint8_t {
  Dune::Vtk::VERTEX = 1 , Dune::Vtk::LINE = 3 , Dune::Vtk::TRIANGLE = 5 , Dune::Vtk::POLYGON = 7 ,
  Dune::Vtk::QUAD = 9 , Dune::Vtk::TETRA = 10 , Dune::Vtk::HEXAHEDRON = 12 , Dune::Vtk::WEDGE = 13 ,
  Dune::Vtk::PYRAMID = 14 , Dune::Vtk::QUADRATIC_EDGE = 21 , Dune::Vtk::QUADRATIC_TRIANGLE = 22 , Dune::Vtk::QUADRATIC_QUAD = 23 ,
  Dune::Vtk::QUADRATIC_TETRA = 24 , Dune::Vtk::QUADRATIC_HEXAHEDRON = 25 , Dune::Vtk::LAGRANGE_CURVE = 68 , Dune::Vtk::LAGRANGE_TRIANGLE = 69 ,
  Dune::Vtk::LAGRANGE_QUADRILATERAL = 70 , Dune::Vtk::LAGRANGE_TETRAHEDRON = 71 , Dune::Vtk::LAGRANGE_HEXAHEDRON = 72 , Dune::Vtk::LAGRANGE_WEDGE = 73 ,
  Dune::Vtk::LAGRANGE_PYRAMID = 74
}
 

Functions

std::string Dune::Vtk::to_string (Vtk::FormatTypes type)
 
Vtk::FormatTypes Dune::Vtk::formatTypeOf (Dune::VTK::OutputType)
 Map the dune-grid OutputType to FormatTypes. More...
 
std::string Dune::Vtk::to_string (Vtk::RangeTypes type)
 
Vtk::RangeTypes Dune::Vtk::rangeTypeOf (Dune::VTK::FieldInfo::Type t)
 
Vtk::RangeTypes Dune::Vtk::rangeTypeOf (int ncomps)
 
std::string Dune::Vtk::to_string (Vtk::DataTypes type)
 
Vtk::DataTypes Dune::Vtk::dataTypeOf (Dune::VTK::Precision p)
 
Vtk::DataTypes Dune::Vtk::dataTypeOf (std::string s)
 
template<class T >
Vtk::DataTypes Dune::Vtk::dataTypeOf ()
 
template<template< class > class C = NoConstraint, class Caller >
void Dune::Vtk::mapDataTypes (Vtk::DataTypes t, Caller caller)
 Map a given enum DataType to a type passed to Caller as MetaType. More...
 
template<template< class > class Constraint1 = NoConstraint, template< class > class Constraint2 = NoConstraint, class Caller >
void Dune::Vtk::mapDataTypes (Vtk::DataTypes t1, Vtk::DataTypes t2, Caller caller)
 Map two DataTypes as type parameters to the Caller. More...
 
template<template< class > class Constraint1 = NoConstraint, template< class > class Constraint2 = NoConstraint, template< class > class Constraint3 = NoConstraint, class Caller >
void Dune::Vtk::mapDataTypes (Vtk::DataTypes t1, Vtk::DataTypes t2, Vtk::DataTypes t3, Caller caller)
 Map three DataTypes as type parameters to the Caller. More...
 
std::string Dune::Vtk::to_string (CompressorTypes type)
 
GeometryType Dune::Vtk::to_geometry (std::uint8_t cell)