dune-grid  2.4
Classes | Enumerations | Functions
Dune::VTK Namespace Reference

Classes

class  AppendedBase64DataArrayWriter
 a streaming writer for data array tags, uses appended base64 format More...
 
class  AppendedRawDataArrayWriter
 a streaming writer for data array tags, uses appended raw format More...
 
class  AsciiDataArrayWriter
 a streaming writer for data array tags, uses ASCII inline format More...
 
class  BasicWriter
 
class  BinaryDataArrayWriter
 a streaming writer for data array tags, uses binary inline format More...
 
class  BoundaryIterator
 iterate over the GridViews boundary intersections More...
 
class  ConformingConnectivityWriter
 writer for the connectivity array in conforming mode More...
 
class  ConformingVolumeIteratorFactory
 
class  ConformingVolumeWriter
 
class  CoordinatesWriter
 writer for the Coordinates array More...
 
class  Corner
 simple class representing a corner of a cell More...
 
class  CornerIterator
 iterate over the corners of some cell range More...
 
class  DataArrayWriter
 base class for data array writers More...
 
class  DataArrayWriterFactory
 a factory for DataArrayWriters More...
 
class  FieldInfo
 Descriptor struct for VTK fields. More...
 
class  FunctionWriterBase
 Base class for function writers. More...
 
class  IntersectionIndexSet
 
class  NakedBase64DataArrayWriter
 a streaming writer for appended data array tags, uses base64 format More...
 
class  NakedRawDataArrayWriter
 a streaming writer for appended data arrays, uses raw format More...
 
class  NonConformingBoundaryIteratorFactory
 
class  NonConformingBoundaryWriter
 
class  NonConformingConnectivityWriter
 writer for the connectivity array in nonconforming mode More...
 
class  NonConformingVolumeIteratorFactory
 
class  OffsetsWriter
 writer for the offsets array More...
 
class  PointIterator
 iterate over the points of some corner range More...
 
struct  PrintType
 determine a type to safely put another type into a stream More...
 
struct  PrintType< char >
 
struct  PrintType< signed char >
 
struct  PrintType< unsigned char >
 
class  PVTUWriter
 Dump a .vtu/.vtp files contents to a stream. More...
 
class  SkeletonFunctionInterface
 A prototype for VTKFunctions on the skeleton. More...
 
struct  SkeletonFunctionTraits
 
class  SkeletonFunctionWriter
 function writer for skeleton functions More...
 
class  TypeName
 map type to its VTK name in data array More...
 
class  TypesWriter
 writer for the types array More...
 
class  VTKFunctionWriter
 Base class for function writers. More...
 
class  VTUWriter
 Dump a .vtu/.vtp files contents to a stream. More...
 

Enumerations

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

Functions

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

Function Documentation

GeometryType Dune::VTK::geometryType ( const Dune::GeometryType &  t)
inline
std::string Dune::VTK::getEndiannessString ( )
inline

determine endianness of this C++ implementation

Returns
A string suitable for the byte_order property in VTK files; either "BigEndian" or "LittleEndian".

Referenced by Dune::VTK::PVTUWriter::PVTUWriter(), and Dune::VTK::VTUWriter::VTUWriter().

int Dune::VTK::renumber ( const Dune::GeometryType &  t,
int  i 
)
inline
template<typename T >
int Dune::VTK::renumber ( const T &  t,
int  i 
)

renumber VTK <-> Dune

This function is just a convenience shortcut function wrapping renumber(const GeometryType&, int).

Parameters
tEntity, Intersection or Geometry to do the renumbering in. Basically, anything with a method type() returning a GeometryType should work here.
iIndex to of corner in either Dune or VTK numbering (the result will be in the other numbering)

References renumber().