virtual void create()
Create a HDF5 stream and allocate data for it.
WholeDomainOutputStream()=delete
Default constructor not allowed.
hid_t mDataset
Handle to a HDF5 dataset.
size_t mSampledTimeStep
Time step to store (N/A for aggregated).
virtual void flushBufferToFile()
Flush the buffer to the file.
Output stream for quantities sampled in the whole domain.
virtual void checkpoint()
Checkpoint the stream and close.
virtual void close()
Close stream (apply post-processing if necessary, flush data and close).
virtual void postProcess()
Apply post-processing on the buffer and flush it to the file.
WholeDomainOutputStream & operator=(const WholeDomainOutputStream &)=delete
operator= is not allowed.
virtual ~WholeDomainOutputStream()
Destructor.
virtual void reopen()
Reopen the output stream after restart and reload data.
virtual void sample()
Sample data into buffer and apply reduction, or flush to disk (no sensor mask here).