36 #include "AbstractTargetAreaModifier.hpp"
38 template<
unsigned DIM>
41 mReferenceTargetArea(1.0)
45 template<
unsigned DIM>
50 template<
unsigned DIM>
53 UpdateTargetAreas(rCellPopulation);
56 template<
unsigned DIM>
63 UpdateTargetAreas(rCellPopulation);
66 template<
unsigned DIM>
70 for (std::list<CellPtr>::iterator cell_iter = rCellPopulation.
rGetCells().begin();
71 cell_iter != rCellPopulation.
rGetCells().end();
74 UpdateTargetAreaOfCell(*cell_iter);
78 template<
unsigned DIM>
81 return mReferenceTargetArea;
84 template<
unsigned DIM>
87 assert(referenceTargetArea >= 0.0);
88 mReferenceTargetArea = referenceTargetArea;
91 template<
unsigned DIM>
94 *rParamsFile <<
"\t\t\t<ReferenceTargetArea>" << mReferenceTargetArea <<
"</ReferenceTargetArea>\n";
virtual void OutputSimulationModifierParameters(out_stream &rParamsFile)
double GetReferenceTargetArea()
void SetReferenceTargetArea(double referenceTargetArea)
virtual void OutputSimulationModifierParameters(out_stream &rParamsFile)=0
std::list< CellPtr > & rGetCells()
virtual void UpdateAtEndOfTimeStep(AbstractCellPopulation< DIM, DIM > &rCellPopulation)
virtual ~AbstractTargetAreaModifier()
AbstractTargetAreaModifier()
virtual void SetupSolve(AbstractCellPopulation< DIM, DIM > &rCellPopulation, std::string outputDirectory)
void UpdateTargetAreas(AbstractCellPopulation< DIM, DIM > &rCellPopulation)