58 double cell_target_area = this->mReferenceTargetArea;
65 cell_target_area = cell_target_area - 0.5*cell_target_area/(pCell->GetApoptosisTime())*time_spent_apoptotic;
68 if (cell_target_area < 0)
76 if (!cell_is_differentiated)
83 double growth_start_time = mAgeToStartGrowing;
84 double growth_rate = mGrowthRate;
89 EXCEPTION(
"If SetAgeToStartGrowing() has not been called, a subclass of AbstractPhaseBasedCellCycleModel must be used");
100 growth_rate = cell_target_area/g2_duration;
104 EXCEPTION(
"If SetAgeToStartGrowing() has been called, then SetGrowthRate() must also be called");
107 double time_spent_growing = pCell->GetAge() - growth_start_time;
110 if (time_spent_growing > 0)
112 cell_target_area += time_spent_growing*growth_rate;
122 if (pCell->ReadyToDivide())
124 cell_target_area = this->mReferenceTargetArea;
130 pCell->GetCellData()->SetItem(
"target area", cell_target_area);