Class Simulation
Defined in File Simulation.h
Class Documentation
-
class Simulation : public GenParam::ParameterObject
Class to manage the current simulation time and the time step size. This class is a singleton.
Public Functions
-
Simulation()
-
Simulation(const Simulation&) = delete
-
Simulation &operator=(const Simulation&) = delete
-
~Simulation()
-
void init()
-
void reset()
-
inline SimulationModel *getModel()
-
inline void setModel(SimulationModel *model)
Public Static Functions
-
static Simulation *getCurrent()
-
static void setCurrent(Simulation *tm)
-
static bool hasCurrent()
Public Static Attributes
-
static int GRAVITATION = -1
Protected Functions
-
virtual void initParameters()
-
Simulation()