25 namespace CellDaughters {
48 const double area_dtr = daughter->
GetArea();
49 const double area_mtr = mother->
GetArea();
50 const double area_tot = area_dtr + area_mtr;
51 mother->SetChemical(1, mother->GetChemical(1) * (area_mtr / area_tot));
52 daughter->SetChemical(1, daughter->GetChemical(1) * (area_dtr / area_tot));
Core data with mesh, parameters, random engine and time data.
A cell contains walls and nodes.
Namespace for components of the Default model group.
CellDaughters::SmithPhyllotaxis header file.
SmithPhyllotaxis(const CoreData &cd)
Initializing constructor.
void Initialize(const CoreData &cd)
Initialize or re-initialize.
void operator()(Cell *daughter1, Cell *daughter2)
Execute.
double GetArea() const
Return the area of the cell.