36 #include "CellCycleModelOdeHandler.hpp"
39 boost::shared_ptr<AbstractCellCycleModelOdeSolver> pOdeSolver)
42 mpOdeSolver(pOdeSolver),
93 bool stopping_event_occurred =
false;
100 stopping_event_occurred =
mpOdeSolver->StoppingEventOccurred();
101 if (stopping_event_occurred)
110 return stopping_event_occurred;
AbstractOdeSystem * mpOdeSystem
void SetStateVariables(const std::vector< double > &rStateVariables)
void SetOdeSystem(AbstractOdeSystem *pOdeSystem)
boost::shared_ptr< AbstractCellCycleModelOdeSolver > mpOdeSolver
void SetDt(double timeStep)
static SimulationTime * Instance()
double GetTimeStep() const
void SetStateVariables(const VECTOR &rStateVariables)
const double DOUBLE_UNSET
virtual void AdjustOdeParameters(double currentTime)
const boost::shared_ptr< AbstractCellCycleModelOdeSolver > GetOdeSolver() const
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)