26 namespace WallChemistry {
32 : m_k1(0.0), m_k2(0.0), m_km(0.0), m_kr(0.0), m_r(0.0), m_sam_auxin(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");
52 m_sam_auxin = p->get<
double>(
"auxin_transport.sam_auxin");
58 if (w->GetC2()->IsBoundaryPolygon()) {
59 if (w->IsAuxinSink()) {
65 double const chem = w->GetC1()->GetChemical(1);
66 double const receptor = m_sam_auxin * m_r / (m_kr + m_sam_auxin);
67 dw1[1] = m_k1 * chem * receptor / (m_km + chem)
68 - m_k2 * w->GetTransporters1(1);
71 dw1[0] = dw2[0] = dw1[1] = dw2[1];
76 if (w->GetC1()->IsBoundaryPolygon()) {
77 if (w->IsAuxinSink()) {
83 double const chem = w->GetC2()->GetChemical(1);
84 double const receptor = m_sam_auxin * m_r / (m_kr + m_sam_auxin);
86 dw2[1] = m_k1 * chem * receptor / (m_km + chem)
87 - m_k2 * w->GetTransporters2(1);
89 dw1[0] = dw2[0] = dw1[1] = dw2[1];
101 double const auxin2 = w->GetC2()->GetChemical(0);
102 double const chem_1_1 = w->GetC1()->GetChemical(1);
103 double const receptor1 = auxin2 * m_r / (m_kr + auxin2);
104 double const dPijdt1 = m_k1 * chem_1_1 * receptor1 / (m_km + chem_1_1)
105 - m_k2 * w->GetTransporters1(1);
108 double const auxin1 = w->GetC1()->GetChemical(0);
109 double const chem_2_1 = w->GetC2()->GetChemical(1);
110 double const receptor2 = auxin1 * m_r / (m_kr + auxin1);
111 double const dPijdt2 = m_k1 * chem_2_1 * receptor2 / (m_km + chem_2_1)
112 - m_k2 * w->GetTransporters2(1);
Core data with mesh, parameters, random engine and time data.
void operator()(Wall *w, double *dw1, double *dw2)
Execute.
Implements wall chemistry for the AuxinGrowth model.
Namespace for components of the Default model group.
AuxinGrowth()
Set up empty object.
void Initialize(const CoreData &cd)
Initialize from ptree.
WallChemistry for AuxinGrowth model.
A cell wall, runs between cell corner points and consists of wall elements.