Dune Core Modules (unstable)
Dune::VTK::FieldInfo Class Reference
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. | |
std::string | name () const |
The name of the data field. | |
Type | type () const |
The type of the data field. | |
std::size_t | size () const |
The number of components in the data field. | |
Precision | precision () const |
The precision used for the output of the data field. | |
Detailed Description
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.
Member Enumeration Documentation
◆ Type
|
strong |
The documentation for this class was generated from the following file:
- dune/grid/io/file/vtk/common.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)