32 #ifndef OUTPUT_STREAM_CONTAINER_H
33 #define OUTPUT_STREAM_CONTAINER_H
55 p_sensor_raw, ux_sensor_raw, uy_sensor_raw, uz_sensor_raw,
56 ux_shifted_sensor_raw, uy_shifted_sensor_raw, uz_shifted_sensor_raw,
59 p_sensor_rms, p_sensor_max, p_sensor_min,
60 p_sensor_max_all, p_sensor_min_all,
62 ux_sensor_rms, uy_sensor_rms, uz_sensor_rms,
63 ux_sensor_max, uy_sensor_max, uz_sensor_max,
64 ux_sensor_min, uy_sensor_min, uz_sensor_min,
66 ux_sensor_max_all, uy_sensor_max_all, uz_sensor_max_all,
67 ux_sensor_min_all, uy_sensor_min_all, uz_sensor_min_all,
The header file of the class saving RealMatrix data into the output HDF5 file.
bool IsEmpty() const
Is the container empty?
TOutputStreamContainer()
Constructor.
void FreeStreams()
Free all streams - destroy them.
size_t Size() const
Get size of the container.
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.
TBaseOutputHDF5Stream & operator[](const TOutputStreamIdx outputStreamIdx)
Operator [].
void SampleStreams()
Sample all streams (only sample, no disk operations).
TReduceOperator
How to aggregate data.
The header file storing names of all variables/matrices/output streams used in the simulation...
std::map< TOutputStreamIdx, TBaseOutputHDF5Stream * > TOutputStreamMap
Output stream map.
void ReopenStreams()
Reopen streams after checkpoint file (datasets).
TOutputStreamContainer & operator=(TOutputStreamContainer &)
Operator = not allowed for public.
TMatrixIdx
Matrix identifers of all matrices in the k-space code, names based on the Matlab notation.
The header file containing the structure with 3D dimension sizes.
Abstract base class for output data streams (sampled data).
Class implementing the matrix container.
void FlushRawStreams()
Flush streams to disk - only raw streams.
TOutputStreamMap outputStreamContainer
Map with output streams.
void CheckpointStreams()
Checkpoint streams.
TOutputStreamIdx
Output streams identifiers in k-Wave.
~TOutputStreamContainer()
Destructor.
The header file containing the matrix container and the related matrix record class.
void CreateStreams()
Create all streams - opens the datasets.
void CloseStreams()
Close all streams.
A container for output streams.
void PostProcessStreams()
Post-process all streams and flush them to the file.