dune-grid 2.9.0
|
Descriptor struct for VTK fields. More...
#include <dune/grid/io/file/vtk/common.hh>
Public Types | |
enum class | Type { scalar , vector , tensor } |
VTK data type. More... | |
Public Member Functions | |
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. More... | |
std::string | name () const |
The name of the data field. More... | |
Type | type () const |
The type of the data field. More... | |
std::size_t | size () const |
The number of components in the data field. More... | |
Precision | precision () const |
The precision used for the output of the data field. More... | |
Descriptor struct for VTK fields.
This struct provides general information about a data field to be written to a VTK file.
It currently stores the data type and the number of components as well as the name of the field.
|
strong |
VTK data type.
|
inline |
Create a FieldInfo instance with the given name, type and size.
|
inline |
The name of the data field.
|
inline |
The precision used for the output of the data field.
|
inline |
The number of components in the data field.
|
inline |
The type of the data field.