dune-grid  2.4
Classes | Namespaces | Enumerations | Functions
common.hh File Reference

Common stuff for the VTKWriter. More...

#include <limits>
#include <sstream>
#include <string>
#include <dune/common/exceptions.hh>
#include <dune/geometry/type.hh>
#include <dune/common/typetraits.hh>

Go to the source code of this file.

Classes

struct  Dune::VTK::PrintType< T >
 determine a type to safely put another type into a stream More...
 
struct  Dune::VTK::PrintType< unsigned char >
 
struct  Dune::VTK::PrintType< signed char >
 
struct  Dune::VTK::PrintType< char >
 
class  Dune::VTK::TypeName< T >
 map type to its VTK name in data array More...
 
class  Dune::VTK::FieldInfo
 Descriptor struct for VTK fields. More...
 

Namespaces

 Dune
 Include standard header files.
 
 Dune::VTK
 

Enumerations

enum  Dune::VTK::OutputType { Dune::VTK::ascii, Dune::VTK::base64, Dune::VTK::appendedraw, Dune::VTK::appendedbase64 }
 How the bulk data should be stored in the file. More...
 
enum  Dune::VTK::DataMode { Dune::VTK::conforming, Dune::VTK::nonconforming }
 Whether to produce conforming or non-conforming output. More...
 
enum  Dune::VTK::GeometryType {
  Dune::VTK::vertex = 1, Dune::VTK::line = 3, Dune::VTK::triangle = 5, Dune::VTK::quadrilateral = 9,
  Dune::VTK::tetrahedron = 10, Dune::VTK::hexahedron = 12, Dune::VTK::prism = 13, Dune::VTK::pyramid = 14
}
 Type representing VTK's entity geometry types. More...
 
enum  Dune::VTK::FileType { Dune::VTK::polyData, Dune::VTK::unstructuredGrid }
 which type of VTK file to write More...
 

Functions

GeometryType Dune::VTK::geometryType (const Dune::GeometryType &t)
 mapping from GeometryType to VTKGeometryType More...
 
int Dune::VTK::renumber (const Dune::GeometryType &t, int i)
 renumber VTK <-> Dune More...
 
template<typename T >
int Dune::VTK::renumber (const T &t, int i)
 renumber VTK <-> Dune More...
 
std::string Dune::VTK::getEndiannessString ()
 determine endianness of this C++ implementation More...
 

Detailed Description

Common stuff for the VTKWriter.

Author
Peter Bastian, Christian Engwer This file contains common stuff for all instances of VTKWriter.