コード例 #1
0
 /// <summary>
 /// Updates the mesophyll CO2 parameter
 /// </summary>
 protected virtual void UpdateMesophyllCO2(AssimilationPathway pathway, TemperatureResponse leaf)
 { /*C4 & CCM overwrite this.*/
 }
コード例 #2
0
 /// <summary>
 /// Retrieves a function describing assimilation along the Aj pathway
 /// </summary>
 protected abstract AssimilationFunction GetAjFunction(AssimilationPathway pathway, TemperatureResponse leaf);
コード例 #3
0
 /// <inheritdoc/>
 public virtual void UpdateIntercellularCO2(AssimilationPathway pathway, double gt, double waterUseMolsSecond)
 { /*C4 & CCM overwrite this.*/
 }
コード例 #4
0
 /// <inheritdoc/>
 protected override void UpdateChloroplasticO2(AssimilationPathway pathway)
 {
     pathway.ChloroplasticO2 = parameters.PS2ActivityFraction * pathway.CO2Rate / (canopy.DiffusivitySolubilityRatio * pathway.Gbs) + canopy.AirO2;
 }
コード例 #5
0
 /// <inheritdoc/>
 protected override AssimilationFunction GetAc2Function(AssimilationPathway pathway, TemperatureResponse leaf)
 {
     throw new Exception("The C3 model does not use the Ac2 pathway");
 }
コード例 #6
0
 /// <inheritdoc/>
 protected override void UpdateMesophyllCO2(AssimilationPathway pathway, TemperatureResponse leaf)
 {
     pathway.MesophyllCO2 = pathway.IntercellularCO2 - pathway.CO2Rate / leaf.GmT;
 }
コード例 #7
0
 /// <inheritdoc/>
 public override void UpdateIntercellularCO2(AssimilationPathway pathway, double gt, double waterUseMolsSecond)
 {
     pathway.IntercellularCO2 = ((gt - waterUseMolsSecond / 2.0) * canopy.AirCO2 - pathway.CO2Rate) / (gt + waterUseMolsSecond / 2.0);
 }
コード例 #8
0
 /// <summary>
 /// Updates the chloroplastic CO2 parameter
 /// </summary>
 protected virtual void UpdateChloroplasticCO2(AssimilationPathway pathway, AssimilationFunction func)
 { /*CCM overwrites this.*/
 }
コード例 #9
0
 /// <summary>
 /// Updates the chloroplastic O2 parameter
 /// </summary>
 protected virtual void UpdateChloroplasticO2(AssimilationPathway pathway)
 { /*CCM overwrites this.*/
 }
コード例 #10
0
 /// <inheritdoc/>
 public void UpdatePartialPressures(AssimilationPathway pathway, TemperatureResponse leaf, AssimilationFunction function)
 {
     UpdateMesophyllCO2(pathway, leaf);
     UpdateChloroplasticO2(pathway);
     UpdateChloroplasticCO2(pathway, function);
 }