36 #include "FarhadifarTypeModifier.hpp"
38 template<
unsigned DIM>
44 template<
unsigned DIM>
49 template<
unsigned DIM>
53 double cell_target_area = this->mReferenceTargetArea;
59 cell_target_area = cell_target_area - 0.5*cell_target_area/(pCell->GetApoptosisTime())*(
SimulationTime::Instance()->
GetTime()-pCell->GetStartOfApoptosisTime());
62 if (cell_target_area < 0)
69 double cell_age = pCell->GetAge();
76 if (cell_age > growth_start_time)
79 cell_target_area *= (1 + (cell_age-growth_start_time)/g2_duration);
89 if (pCell->ReadyToDivide())
91 cell_target_area = this->mReferenceTargetArea;
96 pCell->GetCellData()->SetItem(
"target area", cell_target_area);
99 template<
unsigned DIM>
virtual void OutputSimulationModifierParameters(out_stream &rParamsFile)
void OutputSimulationModifierParameters(out_stream &rParamsFile)
static SimulationTime * Instance()
virtual double GetSDuration()
void UpdateTargetAreaOfCell(const CellPtr pCell)
virtual double GetMDuration()
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
virtual double GetG1Duration()
virtual ~FarhadifarTypeModifier()
virtual double GetG2Duration()