36#include "CellCycleModelOdeHandler.hpp"
39 boost::shared_ptr<AbstractCellCycleModelOdeSolver> pOdeSolver)
42 mpOdeSolver(pOdeSolver),
44 mFinishedRunningOdes(false)
58 mpOdeSystem(rHandler.mpOdeSystem),
59 mpOdeSolver(rHandler.mpOdeSolver),
60 mLastTime(rHandler.mLastTime),
61 mFinishedRunningOdes(rHandler.mFinishedRunningOdes)
103 bool stopping_event_occurred =
false;
110 stopping_event_occurred =
mpOdeSolver->StoppingEventOccurred();
111 if (stopping_event_occurred)
120 return stopping_event_occurred;
const double DOUBLE_UNSET
void SetStateVariables(const VECTOR &rStateVariables)
VECTOR & rGetStateVariables()
const boost::shared_ptr< AbstractCellCycleModelOdeSolver > GetOdeSolver() const
void SetOdeSystem(AbstractOdeSystem *pOdeSystem)
AbstractOdeSystem * mpOdeSystem
CellCycleModelOdeHandler(const CellCycleModelOdeHandler &rHandler)
virtual ~CellCycleModelOdeHandler()
boost::shared_ptr< AbstractCellCycleModelOdeSolver > mpOdeSolver
void SetStateVariables(const std::vector< double > &rStateVariables)
std::vector< double > GetProteinConcentrations() const
void SetLastTime(double lastTime)
void SetDt(double timeStep)
bool SolveOdeToTime(double currentTime)
virtual void AdjustOdeParameters(double currentTime)
void SetProteinConcentrationsForTestsOnly(double lastTime, std::vector< double > proteinConcentrations)
AbstractOdeSystem * GetOdeSystem() const
double GetTimeStep() const
static SimulationTime * Instance()