25 namespace CellDaughters {
39 double const area1 = daughter1->
GetArea();
40 double const area2 = daughter2->
GetArea();
41 double const tot_area = area1 + area2;
43 daughter1->SetChemical(0, daughter1->GetChemical(0) * (area1 / tot_area));
44 daughter2->SetChemical(0, daughter2->GetChemical(0) * (area2 / tot_area));
45 daughter1->SetChemical(1, daughter1->GetChemical(1) * (area1 / tot_area));
46 daughter2->SetChemical(1, daughter2->GetChemical(1) * (area2 / tot_area));
48 daughter1->SetTransporters(1, 1., 1.);
49 daughter2->SetTransporters(1, 1., 1.);
Namespace for components of the Blad model group.
void Initialize(const CoreData &cd)
Initialize or re-initialize.
Core data with mesh, parameters, random engine and time data.
A cell contains walls and nodes.
void operator()(Cell *daughter1, Cell *daughter2)
Execute.
Blad(const CoreData &cd)
Initializing constructor.
CellDaughters component of Blad model.
double GetArea() const
Return the area of the cell.