36 #include "AbstractCellCycleModel.hpp"
40 mCurrentCellCyclePhase(M_PHASE),
42 mReadyToDivide(false),
44 mMinimumGapDuration(0.01),
46 mStemCellG1Duration(14.0),
47 mTransitCellG1Duration(2.0),
149 assert(stemCellG1Duration > 0.0);
154 assert(transitCellG1Duration > 0.0);
159 assert(SDuration > 0.0);
164 assert(G2Duration > 0.0);
169 assert(MDuration > 0.0);
191 if (dimension != 1 && dimension !=2 && dimension != 3)
193 EXCEPTION(
"Dimension must be 1, 2 or 3");
220 assert(minimumGapDuration > 0.0);
233 *rParamsFile <<
"\t\t<" << cell_cycle_model_type <<
">\n";
235 *rParamsFile <<
"\t\t</" << cell_cycle_model_type <<
">\n";
240 *rParamsFile <<
"\t\t\t<StemCellG1Duration>" <<
mStemCellG1Duration <<
"</StemCellG1Duration>\n";
241 *rParamsFile <<
"\t\t\t<TransitCellG1Duration>" <<
mTransitCellG1Duration <<
"</TransitCellG1Duration>\n";
242 *rParamsFile <<
"\t\t\t<SDuration>" <<
mSDuration <<
"</SDuration>\n";
243 *rParamsFile <<
"\t\t\t<G2Duration>" <<
mG2Duration <<
"</G2Duration>\n";
244 *rParamsFile <<
"\t\t\t<MDuration>" <<
mMDuration <<
"</MDuration>\n";
CellCyclePhase mCurrentCellCyclePhase
virtual void SetBirthTime(double birthTime)
void OutputCellCycleModelInfo(out_stream &rParamsFile)
virtual void SetStemCellG1Duration(double stemCellG1Duration)
virtual void UpdateCellCyclePhase()=0
void SetMinimumGapDuration(double minimumGapDuration)
void SetMDuration(double mDuration)
virtual ~AbstractCellCycleModel()
double GetMinimumGapDuration()
#define EXCEPTION(message)
static SimulationTime * Instance()
void SetG2Duration(double g2Duration)
virtual bool CanCellTerminallyDifferentiate()
virtual double GetSDuration()
double mStemCellG1Duration
virtual double GetMDuration()
double GetStemCellG1Duration()
void SetCell(CellPtr pCell)
virtual void InitialiseDaughterCell()
const double DOUBLE_UNSET
void SetDimension(unsigned dimension)
virtual bool ReadyToDivide()
double GetTransitCellG1Duration()
CellCyclePhase GetCurrentCellCyclePhase()
virtual double GetG1Duration()
virtual void OutputCellCycleModelParameters(out_stream &rParamsFile)=0
const unsigned UNSIGNED_UNSET
double mTransitCellG1Duration
virtual void SetTransitCellG1Duration(double transitCellG1Duration)
double GetBirthTime() const
virtual void ResetForDivision()
virtual double GetG2Duration()
double mMinimumGapDuration
virtual double GetAverageStemCellCycleTime()
std::string GetIdentifier() const
virtual void Initialise()
void SetSDuration(double sDuration)
virtual double GetAverageTransitCellCycleTime()