KASKADE 7 development version
|
options for VTK/AMIRA output More...
#include <iobase.hh>
options for VTK/AMIRA output
IoOptions are used to specify details for output,e.g., ascii or binary format. For ascii format, output precision (i.e. number of significant digits to be written) can be specified; if not set explicitly, six digits will be used.
Public Types | |
enum | OutputType { ascii , binary } |
Determines text or binary output format. Currently this is only used by VTK output. More... | |
enum | DataMode { conforming , nonconforming , inferred } |
The data mode determines the continuity structure of the output. More... | |
enum | Info { none , summary , detail } |
Public Member Functions | |
IoOptions ()=default | |
Default constructor. More... | |
IoOptions & | setOrder (int ord) |
Sets the polynomial order of output. More... | |
IoOptions & | setOutputType (OutputType out) |
Sets the output type to either ascii or binary. More... | |
IoOptions & | setPrecision (int pre) |
Sets the number of decimal digits to be written for floating point numbers. More... | |
IoOptions & | setDataMode (DataMode mode) |
Sets the data mode (conforming or nonconforming). More... | |
Public Attributes | |
OutputType | outputType = ascii |
DataMode | dataMode = inferred |
Info | info = none |
int | precision = 6 |
int | order = 1 |
The data mode determines the continuity structure of the output.
|
default |
Default constructor.
|
inline |
Sets the polynomial order of output.
VTK file formats currently support order 0 (discontinuous piecewise constant), 1 (linear continuous or discontinuous), and 2 (quadratic continuous or discontinuous). Other orders are not supported (and will be silently clamped to {0,1,2}).
|
inline |
|
inline |
Definition at line 150 of file iobase.hh.
Referenced by setDataMode(), and Kaskade::writeVTK().
int Kaskade::IoOptions::order = 1 |
Definition at line 153 of file iobase.hh.
Referenced by setOrder(), and Kaskade::writeVTK().
OutputType Kaskade::IoOptions::outputType = ascii |
Definition at line 149 of file iobase.hh.
Referenced by Kaskade::AmiraMeshReader::boundaryConditionsToScalarField(), LossyStorage< Grid, VariableSet, Space, QuantizationPolicy >::LossyStorage(), and setOutputType().
int Kaskade::IoOptions::precision = 6 |
Definition at line 152 of file iobase.hh.
Referenced by setPrecision(), and Kaskade::writeVTK().