Flow123d
last_with_con_2.0.0-663-gd0e2296
|
Common parent class for templated OutputData. More...
#include <output_data_base.hh>
Public Types | |
enum | NumCompValueType { N_SCALAR = 1, N_VECTOR = 3, N_TENSOR = 9 } |
enum | VTKValueType { VTK_INT8, VTK_UINT8, VTK_INT16, VTK_UINT16, VTK_INT32, VTK_UINT32, VTK_FLOAT32, VTK_FLOAT64 } |
Types of VTK value. More... | |
Public Member Functions | |
virtual | ~OutputDataBase () |
virtual void | print_ascii (ostream &out_stream, unsigned int idx)=0 |
virtual void | print_ascii_all (ostream &out_stream)=0 |
virtual void | print_binary_all (ostream &out_stream)=0 |
virtual void | print_all_yaml (ostream &out_stream, unsigned int precision)=0 |
virtual void | get_min_max_range (double &min, double &max)=0 |
Public Attributes | |
std::string | output_field_name |
std::string | field_name |
UnitSI | field_units |
unsigned int | n_values |
NumCompValueType | n_elem_ |
VTKValueType | vtk_type_ |
Type of stored data. More... | |
Protected Member Functions | |
template<class T > | |
void | set_vtk_type () |
Common parent class for templated OutputData.
Provides virtual method for output of stored data.
Definition at line 38 of file output_data_base.hh.
Number of components of element data stored in the database.
Enumerator | |
---|---|
N_SCALAR | |
N_VECTOR | |
N_TENSOR |
Definition at line 44 of file output_data_base.hh.
Types of VTK value.
Enumerator | |
---|---|
VTK_INT8 | |
VTK_UINT8 | |
VTK_INT16 | |
VTK_UINT16 | |
VTK_INT32 | |
VTK_UINT32 | |
VTK_FLOAT32 | |
VTK_FLOAT64 |
Definition at line 51 of file output_data_base.hh.
|
inlinevirtual |
Destructor of OutputDataBase
Definition at line 58 of file output_data_base.hh.
|
pure virtual |
Find minimal and maximal range of stored data
Implemented in OutputData< Value >, DummyOutputData, and MeshData< T >.
|
pure virtual |
Print stored values in the YAML format (using JSON like arrays). Used for output of observe values.
Implemented in OutputData< Value >, DummyOutputData, and MeshData< T >.
|
pure virtual |
Print one value at given index in ascii format
Implemented in DummyOutputData, OutputData< Value >, and MeshData< T >.
|
pure virtual |
Print all data in ascii format at once stored in database
Implemented in OutputData< Value >, DummyOutputData, and MeshData< T >.
|
pure virtual |
Print all data in binary format at once stored in database
Implemented in OutputData< Value >, DummyOutputData, and MeshData< T >.
|
inlineprotected |
Definition at line 108 of file output_data_base.hh.
std::string OutputDataBase::field_name |
Definition at line 90 of file output_data_base.hh.
UnitSI OutputDataBase::field_units |
Definition at line 91 of file output_data_base.hh.
NumCompValueType OutputDataBase::n_elem_ |
Number of data elements per data value.
Definition at line 101 of file output_data_base.hh.
unsigned int OutputDataBase::n_values |
Number of data values.
Definition at line 96 of file output_data_base.hh.
std::string OutputDataBase::output_field_name |
Data copied from Field.
Definition at line 89 of file output_data_base.hh.
VTKValueType OutputDataBase::vtk_type_ |
Type of stored data.
Definition at line 104 of file output_data_base.hh.