Stride Reference Manual  1.0
stride::Hdf5Saver Class Reference

#include <Hdf5Saver.h>

Inheritance diagram for stride::Hdf5Saver:
Inheritance graph
Collaboration diagram for stride::Hdf5Saver:
Collaboration graph

Public Member Functions

 Hdf5Saver (string filename, const ptree &pt_config, int frequency, RunMode run_mode=RunMode::Initial, int start_timestep=0)
 
virtual void update (const Simulator &sim)
 Update function which is called by the subject. More...
 
void forceSave (const Simulator &sim, int timestep=-1)
 Forces a save to the hdf5 file, with an optional timestep argument which specifies a new timestep save index. More...
 

Detailed Description

Definition at line 34 of file Hdf5Saver.h.

Constructor & Destructor Documentation

stride::Hdf5Saver::Hdf5Saver ( string  filename,
const ptree &  pt_config,
int  frequency,
RunMode  run_mode = RunMode::Initial,
int  start_timestep = 0 
)
inline

Definition at line 83 of file Hdf5Saver.h.

Member Function Documentation

void stride::Hdf5Saver::update ( const Simulator sim)
inlinevirtual

Update function which is called by the subject.

Implements stride::util::Observer< Simulator >.

Definition at line 87 of file Hdf5Saver.h.

Referenced by stride::run::Runner::initOutputs().

void stride::Hdf5Saver::forceSave ( const Simulator sim,
int  timestep = -1 
)
inline

Forces a save to the hdf5 file, with an optional timestep argument which specifies a new timestep save index.

Definition at line 90 of file Hdf5Saver.h.


The documentation for this class was generated from the following files: