Flow123d  release_2.1.0-84-g6a13a75
Public Member Functions | List of all members
DummyOutputData Class Reference
Inheritance diagram for DummyOutputData:
Inheritance graph
[legend]
Collaboration diagram for DummyOutputData:
Collaboration graph
[legend]

Public Member Functions

 DummyOutputData (std::string field_name_in, OutputDataBase::NumCompValueType n_elem_in)
 
virtual ~DummyOutputData () override
 
void print_ascii (ostream &out_stream, unsigned int idx) override
 
void print_ascii_all (ostream &out_stream) override
 
void print_binary_all (ostream &out_stream, bool print_data_size=true) override
 
void print_all_yaml (ostream &out_stream, unsigned int precision) override
 
void get_min_max_range (double &min, double &max) override
 
- Public Member Functions inherited from OutputDataBase
virtual ~OutputDataBase ()
 

Additional Inherited Members

- Public Types inherited from OutputDataBase
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 Attributes inherited from OutputDataBase
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 inherited from OutputDataBase
template<class T >
void set_vtk_type ()
 

Detailed Description

Auxiliary implementation of OutputDataBase that performs output of single zero data for the fields that are off for current time frame.

Definition at line 34 of file output_msh.cc.

Constructor & Destructor Documentation

DummyOutputData::DummyOutputData ( std::string  field_name_in,
OutputDataBase::NumCompValueType  n_elem_in 
)
inline

Definition at line 37 of file output_msh.cc.

virtual DummyOutputData::~DummyOutputData ( )
inlineoverridevirtual

Definition at line 44 of file output_msh.cc.

Member Function Documentation

void DummyOutputData::get_min_max_range ( double &  min,
double &  max 
)
inlineoverridevirtual

Find minimal and maximal range of stored data

Implements OutputDataBase.

Definition at line 65 of file output_msh.cc.

void DummyOutputData::print_all_yaml ( ostream &  out_stream,
unsigned int  precision 
)
inlineoverridevirtual

Print stored values in the YAML format (using JSON like arrays). Used for output of observe values.

Implements OutputDataBase.

Definition at line 62 of file output_msh.cc.

void DummyOutputData::print_ascii ( ostream &  out_stream,
unsigned int  idx 
)
inlineoverridevirtual

Print one value at given index in ascii format

Implements OutputDataBase.

Definition at line 47 of file output_msh.cc.

void DummyOutputData::print_ascii_all ( ostream &  out_stream)
inlineoverridevirtual

Print all data in ascii format at once stored in database

Implements OutputDataBase.

Definition at line 52 of file output_msh.cc.

void DummyOutputData::print_binary_all ( ostream &  out_stream,
bool  print_data_size = true 
)
inlineoverridevirtual

Print all data in binary format at once stored in database

Implements OutputDataBase.

Definition at line 57 of file output_msh.cc.


The documentation for this class was generated from the following file: