Flow123d
last_with_con_2.0.0-4-g42e6930
|
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 } |
Public Member Functions | |
virtual | ~OutputDataBase () |
virtual void | print (ostream &out_stream, unsigned int idx)=0 |
virtual void | print_all (ostream &out_stream)=0 |
virtual void | print_all_yaml (ostream &out_stream, unsigned int precision)=0 |
Public Attributes | |
std::string | output_field_name |
std::string | field_name |
UnitSI | field_units |
unsigned int | n_values |
NumCompValueType | n_elem_ |
Common parent class for templated OutputData.
Provides virtual method for output of stored data.
Definition at line 36 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 42 of file output_data_base.hh.
|
inlinevirtual |
Destructor of OutputDataBase
Definition at line 51 of file output_data_base.hh.
|
pure virtual |
Print one value at given index
Implemented in DummyOutputData, OutputData< Value >, and MeshData< T >.
|
pure virtual |
Print all data at once stored in database
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 DummyOutputData, OutputData< Value >, and MeshData< T >.
std::string OutputDataBase::field_name |
Definition at line 73 of file output_data_base.hh.
UnitSI OutputDataBase::field_units |
Definition at line 74 of file output_data_base.hh.
NumCompValueType OutputDataBase::n_elem_ |
Number of data elements per data value.
Definition at line 84 of file output_data_base.hh.
unsigned int OutputDataBase::n_values |
Number of data values.
Definition at line 79 of file output_data_base.hh.
std::string OutputDataBase::output_field_name |
Data copied from Field.
Definition at line 72 of file output_data_base.hh.