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)
bool IsEndTimeAndNumberOfTimeStepsSetUp() const
static SimulationTime * Instance()
unsigned GetTimeStepsElapsed() const
double GetTimeStep() const
void SetStartTime(double startTime)
void SetEndTimeAndNumberOfTimeSteps(double endTime, unsigned totalTimeStepsInSimulation)
static SimulationTime * mpInstance
bool IsStartTimeSetUp() const
friend class boost::serialization::access
void IncrementTimeOneStep()
void serialize(Archive &archive, const unsigned int version)
void ResetEndTimeAndNumberOfTimeSteps(const double &rEndTime, const unsigned &rNumberOfTimeStepsInThisRun)
static boost::shared_ptr< TimeStepper > mpTimeStepper