26 namespace CellToCellTransport {
39 auto& p = m_cd.m_parameters;
41 ptree
const& arr_D = p->get_child(
"auxin_transport.D.value_array");
42 m_d = arr_D.begin()->second.get_value<
double>();
44 m_ka = p->get<
double>(
"auxin_transport.ka");
45 m_tip_source = p->get<
double>(
"auxin_transport.leaf_tip_source", 0.0);
46 m_transport = p->get<
double>(
"auxin_transport.transport");
52 * (w->GetC2()->GetChemical(0) - w->GetC1()->GetChemical(0));
57 double const trans12 = m_transport * w->GetTransporters1(1) * w->GetC1()->GetChemical(0)
58 / (m_ka + w->GetC1()->GetChemical(0));
61 double const trans21 = m_transport * w->GetTransporters2(1) * w->GetC2()->GetChemical(0)
62 / (m_ka + w->GetC2()->GetChemical(0));
64 dchem_c1[0] += trans21 - trans12;
65 dchem_c2[0] += trans12 - trans21;
68 if (w->IsAuxinSource()) {
69 double const aux_flux = m_tip_source * w->
GetLength();
70 dchem_c1[0] += aux_flux;
71 dchem_c2[0] += aux_flux;
Core data with mesh, parameters, random engine and time data.
Namespace for components of the Default model group.
Basic(const CoreData &cd)
Initializing constructor.
void Initialize(const CoreData &cd)
Initialize or re-initialize.
void operator()(Wall *w, double *dchem_c1, double *dchem_c2)
Execute.
double GetLength() const
Returns (and calculates, if length marked as dirty) the length along all nodes.
Basic CellToCellTransport component.
A cell wall, runs between cell corner points and consists of wall elements.