32 #ifndef OUTPUT_STREAM_CONTAINER_H 33 #define OUTPUT_STREAM_CONTAINER_H 199 float* bufferToReuse =
nullptr);
void postProcessStreams()
Post-process all streams and flush them to the file.
OutputStreamContainer & operator=(OutputStreamContainer &)=delete
Operator = not allowed.
RMS of pressure over sensor mask.
Min of pressure over sensor mask.
Class implementing the matrix container.
OutputStreamIdx
Output streams identifiers in k-Wave.
Max of velocity y over sensor mask.
BaseOutputStream & operator[](const OutputStreamIdx outputStreamIdx)
operator []
bool empty() const
Is the container empty?
RMS of velocity x over sensor mask.
Non staggered velocity x time series.
Non staggered velocity z time series.
Max of velocity x over all domain.
RMS of velocity y over sensor mask.
Max of velocity z over sensor mask.
Min of velocity z over all domain.
Max of pressure over all domain.
void reopenStreams()
Reopen streams after checkpoint file (datasets).
Max of velocity x over sensor mask.
Min of velocity x over sensor mask.
void addStreams(MatrixContainer &matrixContainer)
Add all streams in simulation in the container, set all streams records here!
Max of velocity z over all domain.
void freeStreams()
Free all streams - destroy them.
Min of pressure over all domain.
~OutputStreamContainer()
Destructor.
OutputStreamContainer()
Constructor.
Max of velocity y over all domain.
Non staggered velocity y time series.
void sampleStreams()
Sample all streams.
Min of velocity y over sensor mask.
void createStreams()
Create all streams - opens the datasets.
const std::string MatrixName
Datatype for matrix names.
MatrixIdx
Matrix identifers of all matrices in the k-space code.
The header file storing names of all variables.
Max of pressure over sensor mask.
The header file containing the structure with 3D dimension sizes.
A container for output streams.
ReduceOperator
How to aggregate data.
size_t size() const
Get size of the container.
std::map< OutputStreamIdx, BaseOutputStream * > mContainer
Map with output streams.
The header file containing the matrix container.
The header file of the class saving RealMatrix data into the output HDF5 file.
Min of velocity x over all domain.
void closeStreams()
Close all streams.
void checkpointStreams()
Checkpoint streams.
RMS of velocity z over sensor mask.
Abstract base class for output data streams (sampled data).
Min of velocity y over all domain.
BaseOutputStream * createOutputStream(MatrixContainer &matrixContainer, const MatrixContainer::MatrixIdx sampledMatrixIdx, const MatrixName &fileObjectName, const BaseOutputStream::ReduceOperator reduceOp, float *bufferToReuse=nullptr)
Create a new output stream.
Min of velocity z over sensor mask.