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 } }
/// <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(); }