Exemplo n.º 1
0
        override protected void OnDoPotentialPlantPartioning(object sender, EventArgs e)
        {
            if (Plant.IsEmerged)
            {
                DM.Clear();
                N.Clear();

                DMSupplies();
                DMDemands();
                PotentialDMAllocation();

                leaf.UpdateArea();

                NSupplies();
                NDemands();

                Reallocation(Organs.ToArray(), N, NArbitrator);           // Allocate N available from reallocation to each organ
            }
        }
Exemplo n.º 2
0
 /// <summary>Allocate the nutrient allocations.</summary>
 /// <param name="Organs">The organs.</param>
 /// <param name="N">The biomass arbitration type.</param>
 /// <param name="method">The arbitration method.</param>
 public void Calculate(IArbitration[] Organs, BiomassArbitrationType N, IArbitrationMethod method)
 {
     Leaf.UpdateArea();
 }