56 double cell_target_area = this->mReferenceTargetArea;
58 double growth_duration = mGrowthDuration;
64 EXCEPTION(
"If SetGrowthDuration() has not been called, a subclass of AbstractPhaseBasedCellCycleModel must be used");
71 if (growth_duration == DBL_MAX)
82 if (pCell->GetStartOfApoptosisTime() - pCell->GetBirthTime() < growth_duration)
84 cell_target_area *= 0.5*(1 + (pCell->GetStartOfApoptosisTime() - pCell->GetBirthTime())/growth_duration);
90 cell_target_area *= 1.0 - 0.5/(pCell->GetApoptosisTime())*time_spent_apoptotic;
91 if (cell_target_area < 0)
99 double cell_age = pCell->GetAge();
101 if (cell_age < growth_duration)
103 cell_target_area *= 0.5*(1 + cell_age/growth_duration);
114 if (pCell->ReadyToDivide())
116 cell_target_area = 0.5*this->mReferenceTargetArea;
121 pCell->GetCellData()->SetItem(
"target area", cell_target_area);