36#include "AbstractOdeBasedPhaseBasedCellCycleModel.hpp"
39 boost::shared_ptr<AbstractCellCycleModelOdeSolver> pOdeSolver)
41 mDivideTime(lastTime),
42 mG2PhaseStartTime(DBL_MAX)
54 mDivideTime(rModel.mDivideTime),
55 mG2PhaseStartTime(rModel.mG2PhaseStartTime)
87 if (
GetAge() >= m_duration)
112 EXCEPTION(
"A protein concentration " << i <<
" has gone negative (" <<
114 <<
"Chaste predicts that the CellCycleModel numerical method is probably unstable.");
const double DOUBLE_UNSET
#define EXCEPTION(message)
virtual void SetBirthTime(double birthTime)
virtual ~AbstractOdeBasedPhaseBasedCellCycleModel()
void SetBirthTime(double birthTime)
virtual void ResetForDivision()
virtual void UpdateCellCyclePhase()
virtual void OutputCellCycleModelParameters(out_stream &rParamsFile)
AbstractOdeBasedPhaseBasedCellCycleModel(const AbstractOdeBasedPhaseBasedCellCycleModel &rModel)
VECTOR & rGetStateVariables()
virtual double GetSDuration() const
virtual void ResetForDivision()
virtual double GetG2Duration() const
CellCyclePhase mCurrentCellCyclePhase
virtual double GetMDuration() const
virtual void OutputCellCycleModelParameters(out_stream &rParamsFile)=0
unsigned GetNumberOfStateVariables() const
AbstractOdeSystem * mpOdeSystem
boost::shared_ptr< AbstractCellCycleModelOdeSolver > mpOdeSolver
bool mFinishedRunningOdes
bool SolveOdeToTime(double currentTime)
static SimulationTime * Instance()