Class TimeManager

Class Documentation

class SPH::TimeManager

Class to manage the current simulation time and the time step size. This class is a singleton.

Public Functions

TimeManager()
~TimeManager()
Real getTime()
void setTime(Real t)
Real getTimeStepSize()
void setTimeStepSize(Real tss)
void saveState(BinaryFileWriter &binWriter)
void loadState(BinaryFileReader &binReader)

Public Static Functions

static TimeManager *getCurrent()
static void setCurrent(TimeManager *tm)
static bool hasCurrent()