300 it.second->FlushRaw();
315 it.second->Checkpoint();
330 it.second->PostProcess();
365 outputStreamContainer.clear();
TMatrixName uz_max_NAME
uz_max variable name
Output stream for quantities sampled in the whole domain.
TMatrixName ux_max_all_NAME
ux_max_all variable name
TMatrixName uz_min_all_NAME
uz_min_all variable name
The header file of the class saving RealMatrix data into the output HDF5 file.
Output stream for quantities sampled by a cuboid corner sensor mask.
TMatrixName uy_rms_NAME
uy_rms variable name
TMatrixName p_rms_NAME
p_rms variable name
bool IsStore_u_min() const
Is –u_min specified at the command line?
calculate root mean square
static TParameters & GetInstance()
Get instance of the singleton class.
bool IsStore_u_raw() const
Is -u or –u_raw specified at the command line?
TMatrixName p_max_NAME
p_max variable name
void FreeStreams()
Free all streams - destroy them.
T & GetMatrix(const TMatrixIdx matrixIdx)
Get the matrix with a specific type from the container.
The header file containing the parameters of the simulation.
void AddStreams(TMatrixContainer &matrixContainer)
Add all streams into the container.
const std::string TMatrixName
Datatype for matrix names.
TBaseOutputHDF5Stream * CreateNewOutputStream(TMatrixContainer &matrixContainer, const TMatrixIdx sampledMatrixIdx, const TMatrixName &fileDatasetName, const TBaseOutputHDF5Stream::TReduceOperator reduceOp)
Create a new output stream.
TMatrixName uy_NAME
uy variable name
bool IsStore_u_rms() const
Is –u_raw specified at the command line?
TMatrixName uy_min_all_NAME
uy_min_all variable name
bool IsStore_p_raw() const
Is -p or –p_raw specified at the command line?
bool IsStore_p_rms() const
Is –p_rms specified at the command line?
bool IsStore_p_min_all() const
Is –p_min_all specified at the command line?
bool IsStore_p_min() const
Is –p_min specified at the command line?
Output stream for quantities sampled by an index sensor mask.
bool IsStore_u_non_staggered_raw() const
Is –u_non_staggered_raw set?
bool IsStore_u_min_all() const
Is –u_min_all specified at the command line?
Class storing all parameters of the simulation.
TMatrixName uz_max_all_NAME
uz_max_all variable name
TMatrixName uz_NAME
uz variable name
The header file of the class saving whole RealMatrix into the output HDF5 file, e.g. p_max_all.
void SampleStreams()
Sample all streams (only sample, no disk operations).
TReduceOperator
How to aggregate data.
TMatrixName uz_rms_NAME
uz_rms variable name
TMatrixName ux_min_all_NAME
ux_min_all variable name
void ReopenStreams()
Reopen streams after checkpoint file (datasets).
store actual data (time series)
TMatrixIdx
Matrix identifers of all matrices in the k-space code, names based on the Matlab notation.
Abstract base class for output data streams (sampled data).
Class implementing the matrix container.
void FlushRawStreams()
Flush streams to disk - only raw streams.
TMatrixName uy_max_all_NAME
uy_max_all variable name
The class for real matrices.
TOutputStreamMap outputStreamContainer
Map with output streams.
TMatrixName uy_max_NAME
uy_max variable name
bool IsStore_p_max_all() const
Is –p_max_all specified at the command line?
void CheckpointStreams()
Checkpoint streams.
The class for 64b unsigned integers (indices). It is used for sensor_mask_index or sensor_corners_mas...
The header file of the class saving data based on the index senor mask into the output HDF5 file...
TMatrixName ux_min_NAME
ux_min variable name
~TOutputStreamContainer()
Destructor.
TMatrixName ux_NAME
ux variable name
bool IsStore_u_max() const
Is –u_max specified at the command line?
bool IsStore_u_max_all() const
Is –u_max_all specified at the command line?
bool IsStore_p_max() const
Is –p_max specified at the command line?
TMatrixName p_min_NAME
p_min variable name
The header file of classes responsible for storing output quantities based on the cuboid sensor mask ...
The header file defining the output stream container.
void CreateStreams()
Create all streams - opens the datasets.
TMatrixName ux_rms_NAME
ux_rms variable name
TMatrixName uz_min_NAME
uz_min variable name
TMatrixName uz_non_staggered_NAME
uz_non_staggered variable name
TMatrixName p_min_all_NAME
p_min_all variable name
TMatrixName uy_min_NAME
uy_min variable name
void CloseStreams()
Close all streams.
TMatrixName p_max_all_NAME
p_max_all variable name
TMatrixName ux_max_NAME
ux_max variable name
TMatrixName uy_non_staggered_NAME
uy_non_staggered variable name
TSensorMaskType Get_sensor_mask_type() const
Get sensor mask type (linear or corners).
TMatrixName p_NAME
p variable name
THDF5_File & GetOutputFile()
Get output file handle.
TMatrixName ux_non_staggered_NAME
ux_non_staggered variable name
void PostProcessStreams()
Post-process all streams and flush them to the file.