dune-vtk 2.8
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
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 >
 
struct  Dune::Vtk::CellType
 Mapping of Dune geometry types to VTK cell types. More...
 
class  Dune::Vtk::FieldInfo
 

Namespaces

namespace  Dune
 
namespace  Dune::Vtk
 

Enumerations

enum class  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 class  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 class  Dune::Vtk::CompressorTypes { Dune::Vtk::NONE = 0 , Dune::Vtk::ZLIB , Dune::Vtk::LZ4 , Dune::Vtk::LZMA }
 

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.
 
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.
 
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.
 
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.
 
std::string Dune::Vtk::to_string (Vtk::CompressorTypes type)
 
GeometryType Dune::Vtk::to_geometry (std::uint8_t cell)
 

Variables

auto Dune::Vtk::formatTypesList = {FormatTypes::ASCII, FormatTypes::BINARY, FormatTypes::COMPRESSED, FormatTypes::APPENDED}
 
auto Dune::Vtk::rangeTypesList = {RangeTypes::UNSPECIFIED, RangeTypes::AUTO, RangeTypes::SCALAR, RangeTypes::VECTOR, RangeTypes::TENSOR}
 
auto Dune::Vtk::dataTypesLists