|
dune-grid 2.8.0
|
Loading...
Searching...
No Matches
common.hh
Go to the documentation of this file.
54 };
141 };
#define DUNE_THROW(E, m)
Precision
which precision to use when writing out data to vtk files
Definition common.hh:269
@ int32
@ uint32
@ uint8
@ float32
@ float64
OutputType
How the bulk data should be stored in the file.
Definition common.hh:41
@ appendedraw
Output is to the file is appended raw binary.
Definition common.hh:47
@ appendedbase64
Output is to the file is appended base64 binary.
Definition common.hh:49
int renumber(const Dune::GeometryType &t, int i)
renumber VTK <-> Dune
Definition common.hh:184
@ unstructuredGrid
for .vtu files (UnstructuredGrid)
Definition common.hh:254
std::string toString(Precision p)
map precision to VTK type name
Definition common.hh:278
DataMode
Whether to produce conforming or non-conforming output.
Definition common.hh:65
std::size_t typeSize(Precision p)
map precision to byte size
Definition common.hh:298
GeometryType geometryType(const Dune::GeometryType &t)
mapping from GeometryType to VTKGeometryType
Definition common.hh:149
std::string getEndiannessString()
determine endianness of this C++ implementation
Definition common.hh:230
GeometryType
Type representing VTK's entity geometry types.
Definition common.hh:130
Include standard header files.
constexpr bool isPyramid() const
constexpr bool isTetrahedron() const
constexpr bool isPrism() const
constexpr bool isVertex() const
constexpr unsigned int dim() const
constexpr bool isTriangle() const
constexpr bool isLine() const
constexpr bool isQuadrilateral() const
constexpr bool isNone() const
constexpr bool isHexahedron() const
determine a type to safely put another type into a stream
Definition common.hh:93
T Type
type to convert T to before putting it into a stream with <<
Definition common.hh:95
std::conditional< std::numeric_limits< char >::is_signed, int, unsigned >::type Type
Definition common.hh:112
std::size_t size() const
The number of components in the data field.
Definition common.hh:362
Precision precision() const
The precision used for the output of the data field.
Definition common.hh:368
@ vector
vector-valued field (always 3D, will be padded if necessary)
FieldInfo(std::string name, Type type, std::size_t size, Precision prec=Precision::float32)
Create a FieldInfo instance with the given name, type and size.
Definition common.hh:342
std::string name() const
The name of the data field.
Definition common.hh:350
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8