26 namespace WallChemistry {
32 : m_k1(0.0), m_k2(0.0), m_km(0.0), m_kr(0.0), m_r(0.0)
45 auto& p = m_cd.m_parameters;
47 m_k1 = p->get<
double>(
"auxin_transport.k1");
48 m_k2 = p->get<
double>(
"auxin_transport.k2");
49 m_km = p->get<
double>(
"auxin_transport.km");
50 m_kr = p->get<
double>(
"auxin_transport.kr");
51 m_r = p->get<
double>(
"auxin_transport.r");
59 dw1[1] = PINflux(w->GetC1(), w->GetC2(), w);
60 dw2[1] = PINflux(w->GetC2(), w->GetC1(), w);
63 double Basic::PINflux(
Cell* this_cell,
Cell* adjacent_cell,
Wall* w)
74 double const adj_auxin = adjacent_cell->GetChemical(0);
75 double const receptor = adj_auxin * m_r / (m_kr + adj_auxin);
79 if (w->GetC1() == this_cell) {
80 pin_atwall = w->GetTransporters1(1);
82 pin_atwall = w->GetTransporters2(1);
86 double const chem = this_cell->GetChemical(1);
87 double const pin_flux = m_k1 * chem * receptor / (m_km + chem) - m_k2 * pin_atwall;
Core data with mesh, parameters, random engine and time data.
A cell contains walls and nodes.
Basic()
Set up empty object.
void Initialize(const CoreData &cd)
Initialize from ptree.
Namespace for components of the Default model group.
Basic WallChemistry component.
A cell wall, runs between cell corner points and consists of wall elements.
Basic approach with PINflux to wall chemistry.
void operator()(Wall *w, double *dw1, double *dw2)
Execute.