Dune Core Modules (2.6.0)
common.hh
Go to the documentation of this file.
53 };
79 };
303 };
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:277
constexpr bool isPyramid() const
Return true if entity is a pyramid.
Definition: type.hh:542
constexpr bool isTetrahedron() const
Return true if entity is a tetrahedron.
Definition: type.hh:537
constexpr bool isPrism() const
Return true if entity is a prism.
Definition: type.hh:547
constexpr bool isVertex() const
Return true if entity is a vertex.
Definition: type.hh:517
constexpr unsigned int dim() const
Return dimension of the type.
Definition: type.hh:572
constexpr bool isTriangle() const
Return true if entity is a triangle.
Definition: type.hh:527
constexpr bool isLine() const
Return true if entity is a line segment.
Definition: type.hh:522
constexpr bool isQuadrilateral() const
Return true if entity is a quadrilateral.
Definition: type.hh:532
constexpr bool isNone() const
Return true if entity is a singular of any dimension.
Definition: type.hh:567
constexpr bool isHexahedron() const
Return true if entity is a hexahedron.
Definition: type.hh:552
std::size_t size() const
The number of components in the data field.
Definition: common.hh:350
FieldInfo(std::string name, Type type, std::size_t size)
Create a FieldInfo instance with the given name, type and size.
Definition: common.hh:331
std::string name() const
The name of the data field.
Definition: common.hh:338
const std::string & operator()() const
return VTK name of the type
Definition: common.hh:157
A few common exception classes.
OutputType
How the bulk data should be stored in the file.
Definition: common.hh:40
@ appendedraw
Output is to the file is appended raw binary.
Definition: common.hh:46
@ appendedbase64
Output is to the file is appended base64 binary.
Definition: common.hh:48
int renumber(const Dune::GeometryType &t, int i)
renumber VTK <-> Dune
Definition: common.hh:232
@ unstructuredGrid
for .vtu files (UnstructuredGrid)
Definition: common.hh:302
DataMode
Whether to produce conforming or non-conforming output.
Definition: common.hh:64
GeometryType geometryType(const Dune::GeometryType &t)
mapping from GeometryType to VTKGeometryType
Definition: common.hh:197
std::string getEndiannessString()
determine endianness of this C++ implementation
Definition: common.hh:278
GeometryType
Type representing VTK's entity geometry types.
Definition: common.hh:178
determine a type to safely put another type into a stream
Definition: common.hh:92
T Type
type to convert T to before putting it into a stream with <<
Definition: common.hh:94
A unique label for each type of element that can occur in a grid.
Traits for type conversions and type information.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)