Flow123d
release_2.1.0-87-gfbc1563
|
#include <output_mesh.hh>
Public Member Functions | |
MeshData (std::string name, NumCompValueType n_elem=N_SCALAR) | |
Constructor. name is the possible name of the output vector. More... | |
~MeshData () override | |
void | print_ascii (std::ostream &out_stream, unsigned int idx) override |
Prints idx element of data vector into stream. More... | |
void | print_ascii_all (std::ostream &out_stream) override |
Prints the whole data vector into stream. More... | |
void | print_binary_all (ostream &out_stream, bool print_data_size=true) override |
Prints the whole data vector into stream. More... | |
void | print_all_yaml (std::ostream &out_stream, unsigned int precision) override |
Prints the whole data vector into stream. UNSUPPORTED. More... | |
void | get_min_max_range (double &min, double &max) override |
T & | operator[] (unsigned int i) |
Access i-th element in the data vector. More... | |
Public Member Functions inherited from OutputDataBase | |
virtual | ~OutputDataBase () |
Public Attributes | |
std::vector< T > | data_ |
Data vector. 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... | |
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... | |
Protected Member Functions inherited from OutputDataBase | |
template<class T > | |
void | set_vtk_type () |
Class representing data vector of geometry and topology information (especially for VTK). Filling the vector is the users responsibility.
Definition at line 35 of file output_mesh.hh.
MeshData< T >::MeshData | ( | std::string | name, |
NumCompValueType | n_elem = N_SCALAR |
||
) |
Constructor. name
is the possible name of the output vector.
Definition at line 13 of file output_mesh_data.cc.
Definition at line 21 of file output_mesh_data.cc.
|
overridevirtual |
Find minimal and maximal range of stored data
Implements OutputDataBase.
Definition at line 65 of file output_mesh_data.cc.
T & MeshData< T >::operator[] | ( | unsigned int | i | ) |
Access i-th element in the data vector.
Definition at line 78 of file output_mesh_data.cc.
|
overridevirtual |
Prints the whole data vector into stream. UNSUPPORTED.
Prints the whole data vector into stream.
Implements OutputDataBase.
Definition at line 58 of file output_mesh_data.cc.
|
overridevirtual |
Prints idx
element of data vector into stream.
Implements OutputDataBase.
Definition at line 26 of file output_mesh_data.cc.
|
overridevirtual |
Prints the whole data vector into stream.
Implements OutputDataBase.
Definition at line 34 of file output_mesh_data.cc.
|
overridevirtual |
Prints the whole data vector into stream.
Prints the whole data vector into stream in appended binary format.
Implements OutputDataBase.
Definition at line 43 of file output_mesh_data.cc.
std::vector<T> MeshData< T >::data_ |
Data vector.
Definition at line 50 of file output_mesh_data.hh.