|
Flow123d
jenkins-Flow123d-linux-release-multijob-198
|
This class is used for storing data that are copied from field. More...
#include <output_time.impl.hh>


Public Types | |
| typedef Value::element_type | ElemType |
Public Types inherited from OutputDataBase | |
| enum | NumCompValueType { N_SCALAR = 1, N_VECTOR = 3, N_TENSOR = 9 } |
Public Member Functions | |
| OutputData (const FieldCommon &field, unsigned int size) | |
| Constructor of templated OutputData. More... | |
| ~OutputData () | |
| Destructor of OutputData. More... | |
| void | print (ostream &out_stream, unsigned int idx) override |
| void | print_all (ostream &out_stream) override |
| Print all data stored in output data. More... | |
| void | store_value (unsigned int idx, const Value &value) |
| void | add (unsigned int idx, const Value &value) |
| void | zero (unsigned int idx) |
| void | normalize (unsigned int idx, unsigned int divisor) |
Public Member Functions inherited from OutputDataBase | |
| virtual | ~OutputDataBase () |
Private Member Functions | |
| template<class Func > | |
| void | operate (unsigned int idx, const Value &val, const Func &func) |
Private Attributes | |
| ElemType * | data_ |
| Value::return_type | aux |
| Value | val_aux |
| unsigned int | n_rows |
| unsigned int | n_cols |
Additional Inherited Members | |
Public Attributes inherited from OutputDataBase | |
| std::string | output_field_name |
| std::string | field_name |
| UnitSI | field_units |
| unsigned int | n_values |
| NumCompValueType | n_elem_ |
This class is used for storing data that are copied from field.
Definition at line 94 of file output_time.impl.hh.
| typedef Value::element_type OutputData< Value >::ElemType |
Definition at line 96 of file output_time.impl.hh.
|
inline |
Constructor of templated OutputData.
Definition at line 101 of file output_time.impl.hh.
|
inline |
Destructor of OutputData.
Definition at line 144 of file output_time.impl.hh.
|
inline |
Add value to given index
Definition at line 190 of file output_time.impl.hh.

|
inline |
Normalize values at given index
Definition at line 204 of file output_time.impl.hh.

|
inlineprivate |
Perform given function at given index
Definition at line 214 of file output_time.impl.hh.

|
inlineoverridevirtual |
Output data element on given index idx. Method for writing data to output stream.
Implements OutputDataBase.
Definition at line 156 of file output_time.impl.hh.
|
inlineoverridevirtual |
Print all data stored in output data.
TODO: indicate if the tensor data are output in column-first or raw-first order and possibly implement transposition. Set such property for individual file formats. Class OutputData stores always in raw-first order.
Implements OutputDataBase.
Definition at line 171 of file output_time.impl.hh.
|
inline |
Store data element of given data value under given index.
Definition at line 183 of file output_time.impl.hh.

|
inline |
Reset values at given index
Definition at line 197 of file output_time.impl.hh.

|
private |
Auxiliary value
Definition at line 239 of file output_time.impl.hh.
|
private |
Computed data values for output stored as continuous buffer of their data elements. One data value has n_elem data elements (of type double, int or unsigned int).
Definition at line 226 of file output_time.impl.hh.
|
private |
Definition at line 252 of file output_time.impl.hh.
|
private |
Number of rows and cols in stored data element, valid values are (1,1) for scalar; (3,1) for vectors; (3,3) for tensors
Definition at line 252 of file output_time.impl.hh.
|
private |
Auxiliary field value envelope over aux
Definition at line 245 of file output_time.impl.hh.
1.8.5