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