36 #ifndef CELLCYCLEMODELODEHANDLER_HPP_
37 #define CELLCYCLEMODELODEHANDLER_HPP_
39 #include <boost/shared_ptr.hpp>
42 #include "AbstractOdeSystem.hpp"
43 #include "AbstractCellCycleModelOdeSolver.hpp"
44 #include "SimulationTime.hpp"
63 template<
class Archive>
64 void serialize(Archive & archive,
const unsigned int version)
84 boost::shared_ptr<AbstractCellCycleModelOdeSolver>
mpOdeSolver;
115 boost::shared_ptr<AbstractCellCycleModelOdeSolver> pOdeSolver = boost::shared_ptr<AbstractCellCycleModelOdeSolver>());
137 const boost::shared_ptr<AbstractCellCycleModelOdeSolver>
GetOdeSolver()
const;
158 void SetDt(
double timeStep);
AbstractOdeSystem * mpOdeSystem
void SetStateVariables(const std::vector< double > &rStateVariables)
void serialize(Archive &archive, const unsigned int version)
void SetOdeSystem(AbstractOdeSystem *pOdeSystem)
boost::shared_ptr< AbstractCellCycleModelOdeSolver > mpOdeSolver
void SetDt(double timeStep)
static SimulationTime * Instance()
virtual void AdjustOdeParameters(double currentTime)
const boost::shared_ptr< AbstractCellCycleModelOdeSolver > GetOdeSolver() const
friend class boost::serialization::access
AbstractOdeSystem * GetOdeSystem() const
CellCycleModelOdeHandler(double lastTime=SimulationTime::Instance() ->GetTime(), boost::shared_ptr< AbstractCellCycleModelOdeSolver > pOdeSolver=boost::shared_ptr< AbstractCellCycleModelOdeSolver >())
virtual ~CellCycleModelOdeHandler()
bool SolveOdeToTime(double currentTime)
void SetLastTime(double lastTime)