267 it.second->checkpoint();
282 it.second->postProcess();
331 float* bufferToReuse)
MatrixName kUzName
uz variable name
Output stream for quantities sampled by an index sensor mask.
The class for real matrices.
void postProcessStreams()
Post-process all streams and flush them to the file.
MatrixName kPressureMinName
p_min variable name
MatrixName kUzMinName
uz_min variable name
Class implementing the matrix container.
OutputStreamIdx
Output streams identifiers in k-Wave.
MatrixName kUxRmsName
ux_rms variable name
MatrixName kUxMinName
ux_min variable name
MatrixName kUyMaxName
uy_max variable name
MatrixName kUzNonStaggeredName
uz_non_staggered variable name
bool getStoreVelocityMinAllFlag() const
Is –u_min set?
Class storing all parameters of the simulation.
MatrixName kPressureMaxAllName
p_max_all variable name
Hdf5File & getOutputFile()
Get output file handle.
bool getStoreVelocityMinFlag() const
Is –u_min set?
bool getStoreVelocityRawFlag() const
Is -u or –u_raw specified at the command line?
The header file containing the parameters of the simulation.
bool getStorePressureMinAllFlag() const
Is –p_min_all set?
void reopenStreams()
Reopen streams after checkpoint file (datasets).
MatrixName kUyName
uy variable name
void addStreams(MatrixContainer &matrixContainer)
Add all streams in simulation in the container, set all streams records here!
MatrixName kUzMinAllName
uz_min_all variable name
bool getStoreVelocityNonStaggeredRawFlag() const
Is –u_non_staggered_raw set?
void freeStreams()
Free all streams - destroy them.
~OutputStreamContainer()
Destructor.
OutputStreamContainer()
Constructor.
Output stream for quantities sampled in the whole domain.
MatrixName kPressureRawName
p variable name in the output file
MatrixName kUxNonStaggeredName
ux_non_staggered variable name
The header file of classes responsible for storing output quantities based on the cuboid sensor mask ...
MatrixName kUxMaxAllName
ux_max_all variable name
void sampleStreams()
Sample all streams.
bool getStoreVelocityRmsFlag() const
Is –u_rms set?
void createStreams()
Create all streams - opens the datasets.
bool getStoreVelocityMaxFlag() const
Is –u_max set?
MatrixName kUxMaxName
ux_max variable name
const std::string MatrixName
Datatype for matrix names.
MatrixName kUzRmsName
uz_rms variable name
MatrixIdx
Matrix identifers of all matrices in the k-space code.
bool getStorePressureMaxAllFlag() const
Is –p_max_all set?
SensorMaskType getSensorMaskType() const
Get sensor mask type (linear or corners).
MatrixName kUxName
ux variable name
MatrixName kUyMinAllName
uy_min_all variable name
MatrixName kUyMaxAllName
uy_max_all variable name
bool getStorePressureRawFlag() const
Is -p or –p_raw specified at the command line?
ReduceOperator
How to aggregate data.
T & getMatrix(const MatrixIdx matrixIdx)
Get the matrix with a specific type from the container.
std::map< OutputStreamIdx, BaseOutputStream * > mContainer
Map with output streams.
MatrixName kPressureMaxName
p_max variable name
The header file of the class saving RealMatrix data into the output HDF5 file.
MatrixName kUzMaxName
uz_max variable name
MatrixName kPressureMinAllName
p_min_all variable name
MatrixName kUyMinName
uy_min variable name
MatrixName kPressureRmsName
p_rms variable name
bool getStoreVelocityMaxAllFlag() const
Is –u_max_all set?
The header file defining the output stream container.
bool getStorePressureMaxFlag() const
Is –p_max set?
static Parameters & getInstance()
Get instance of the singleton class.
bool getStorePressureMinFlag() const
Is –p_min set?
The header file of the class saving whole RealMatrix into the output HDF5 file, e.g. p_max_all.
MatrixName kUxMinAllName
ux_min_all variable name
void closeStreams()
Close all streams.
void checkpointStreams()
Checkpoint streams.
The class for 64b unsigned integers (indices). It is used for linear and cuboid corners masks to get ...
MatrixName kUzMaxAllName
uz_max_all variable name
MatrixName kUyNonStaggeredName
uy_non_staggered variable name
Abstract base class for output data streams (sampled data).
The header file of the class saving data based on the index senor mask into the output HDF5 file...
MatrixName kUyRmsName
uy_rms variable name
BaseOutputStream * createOutputStream(MatrixContainer &matrixContainer, const MatrixContainer::MatrixIdx sampledMatrixIdx, const MatrixName &fileObjectName, const BaseOutputStream::ReduceOperator reduceOp, float *bufferToReuse=nullptr)
Create a new output stream.
bool getStorePressureRmsFlag() const
Is –p_rms set?
Output stream for quantities sampled by a cuboid corner sensor mask.