41 auto& p = m_cd.m_parameters;
43 m_base_area = p->get<
double>(
"cell_mechanics.base_area");
44 m_division_ratio = p->get<
double>(
"cell_mechanics.division_ratio");
45 m_div_area = m_division_ratio * m_base_area;
50 bool must_divide =
false;
52 if (cell->GetBoundaryType() == BoundaryType::None) {
53 if (cell->
GetArea() > m_div_area) {
54 cell->SetChemical(0, 0);
59 return std::make_tuple(must_divide,
false, std::array<double, 3>());
AuxinGrowth(const CoreData &cd)
Initializing constructor.
Core data with mesh, parameters, random engine and time data.
A cell contains walls and nodes.
std::tuple< bool, bool, std::array< double, 3 > > operator()(Cell *cell)
Execute.
Namespace for components of the Default model group.
void Initialize(const CoreData &cd)
Initialize or re-initialize.
BoundaryType enumeration class.
CellSplit for AuxinGrowth model.
double GetArea() const
Return the area of the cell.