36#include "SimpleOxygenBasedCellCycleModel.hpp"
37#include "RandomNumberGenerator.hpp"
38#include "ApoptoticCellProperty.hpp"
41 : mCurrentHypoxicDuration(0.0),
42 mHypoxicConcentration(0.4),
43 mQuiescentConcentration(1.0),
44 mCriticalHypoxicDuration(2.0)
65 if (!cell_is_apoptotic)
70 double oxygen_concentration =
mpCell->GetCellData()->GetItem(
"oxygen");
89 mCurrentHypoxicDuration(rModel.mCurrentHypoxicDuration),
90 mCurrentHypoxiaOnsetTime(rModel.mCurrentHypoxiaOnsetTime),
91 mHypoxicConcentration(rModel.mHypoxicConcentration),
92 mQuiescentConcentration(rModel.mQuiescentConcentration),
93 mCriticalHypoxicDuration(rModel.mCriticalHypoxicDuration)
119 assert(!
mpCell->HasApoptosisBegun());
122 double oxygen_concentration =
mpCell->GetCellData()->GetItem(
"oxygen");
141 boost::shared_ptr<AbstractCellProperty> p_apoptotic_property =
143 mpCell->AddCellProperty(p_apoptotic_property);
161 assert(hypoxicConcentration<=1.0);
162 assert(hypoxicConcentration>=0.0);
173 assert(quiescentConcentration <= 1.0);
174 assert(quiescentConcentration >= 0.0);
185 assert(criticalHypoxicDuration >= 0.0);
191 assert(currentHypoxiaOnsetTime >= 0.0);
197 *rParamsFile <<
"\t\t\t<HypoxicConcentration>" <<
mHypoxicConcentration <<
"</HypoxicConcentration>\n";
#define CHASTE_CLASS_EXPORT(T)
CellCyclePhase mCurrentCellCyclePhase
virtual void UpdateCellCyclePhase()
virtual void OutputCellCycleModelParameters(out_stream &rParamsFile)
static RandomNumberGenerator * Instance()
double GetCurrentHypoxiaOnsetTime() const
SimpleOxygenBasedCellCycleModel()
void SetHypoxicConcentration(double hypoxicConcentration)
void SetCurrentHypoxiaOnsetTime(double currentHypoxiaOnsetTime)
double mHypoxicConcentration
double GetCriticalHypoxicDuration() const
double GetCurrentHypoxicDuration() const
double GetQuiescentConcentration() const
double mCurrentHypoxiaOnsetTime
void UpdateHypoxicDuration()
double mCurrentHypoxicDuration
void SetCriticalHypoxicDuration(double criticalHypoxicDuration)
double mQuiescentConcentration
double mCriticalHypoxicDuration
void SetQuiescentConcentration(double quiescentConcentration)
void UpdateCellCyclePhase()
double GetHypoxicConcentration() const
AbstractCellCycleModel * CreateCellCycleModel()
virtual void OutputCellCycleModelParameters(out_stream &rParamsFile)
double GetTimeStep() const
static SimulationTime * Instance()