The BioCro C++ Library
rue_leaf_photosynthesis.cpp
Go to the documentation of this file.
2
4
5string_vector rue_leaf_photosynthesis::get_inputs()
6{
7 return {
8 "alpha_rue", // dimensionless
9 "incident_ppfd" // micromol / (m^2 leaf) / s
10 };
11}
12
14{
15 return {
16 "Assim", // micromol / m^2 /s
17 "GrossAssim", // micromol / m^2 /s
18 "Gs", // mol / m^2 / s
19 "RL", // micromol / m^2 / s
20 "Rp", // micromol / m^2 / s
21 "TransR" // mmol / m^2 / s
22 };
23}
24
25void rue_leaf_photosynthesis::do_operation() const
26{
27 // Calculate the net CO2 assimilation rate using the RUE assumption
28 double const An = incident_ppfd * alpha_rue; // micromol / m^2 / s
29
30 // Update the outputs
31 update(Assim_op, An);
32 update(GrossAssim_op, An);
33 update(Gs_op, 0.0);
34 update(RL_op, 0.0);
35 update(Rp_op, 0.0);
36 update(TransR_op, 0.0);
37}
Calculates leaf photosynthesis parameters using a simple radiation use efficiency (RUE) model where n...