36 #ifndef SIMULATIONTIME_HPP_ 37 #define SIMULATIONTIME_HPP_ 39 #include <boost/shared_ptr.hpp> 41 #include <boost/serialization/shared_ptr.hpp> 42 #include "SerializableSingleton.hpp" 43 #include "TimeStepper.hpp" 186 template<
class Archive>
187 void serialize(Archive & archive,
const unsigned int version)
static SimulationTime * Instance()
bool IsStartTimeSetUp() const
bool IsEndTimeAndNumberOfTimeStepsSetUp() const
void SetStartTime(double startTime)
void SetEndTimeAndNumberOfTimeSteps(double endTime, unsigned totalTimeStepsInSimulation)
static SimulationTime * mpInstance
friend class boost::serialization::access
void IncrementTimeOneStep()
void serialize(Archive &archive, const unsigned int version)
double GetTimeStep() const
unsigned GetTimeStepsElapsed() const
void ResetEndTimeAndNumberOfTimeSteps(const double &rEndTime, const unsigned &rNumberOfTimeStepsInThisRun)
static boost::shared_ptr< TimeStepper > mpTimeStepper