/// <summary>Clears some variables.</summary> virtual protected void DoDailyCleanup() { Allocated.Clear(); Senesced.Clear(); Detached.Clear(); Removed.Clear(); }
/// <summary>Clears the transferring biomass amounts.</summary> private void ClearBiomassFlows() { Allocated.Clear(); Senesced.Clear(); Detached.Clear(); Removed.Clear(); }
protected void OnDoDailyInitialisation(object sender, EventArgs e) { if (Plant.IsAlive) { Allocated.Clear(); Senesced.Clear(); Detached.Clear(); Removed.Clear(); } }
/// <summary>Clears this instance.</summary> protected virtual void Clear() { Live = new Biomass(); Dead = new Biomass(); DMSupply.Clear(); NSupply.Clear(); DMDemand.Clear(); NDemand.Clear(); potentialDMAllocation.Clear(); Allocated.Clear(); Senesced.Clear(); Detached.Clear(); Removed.Clear(); }
/// <summary>Clears this instance.</summary> private void Clear() { Live = new Biomass(); Dead = new Biomass(); DMSupply.Clear(); NSupply.Clear(); DMDemand.Clear(); NDemand.Clear(); potentialDMAllocation.Clear(); Allocated.Clear(); Senesced.Clear(); Detached.Clear(); Removed.Clear(); Height = 0; LAI = 0; LeafInitialised = false; }
/// <summary>Clears this instance.</summary> protected virtual void Clear() { Live = new Biomass(); Dead = new Biomass(); dryMatterSupply.Clear(); nitrogenSupply.Clear(); dryMatterDemand.Clear(); nitrogenDemand.Clear(); potentialDMAllocation.Clear(); potentialDMAllocating = 0.0; potentialStructuralDMAllocation = 0.0; potentialMetabolicDMAllocation = 0.0; Allocated.Clear(); Senesced.Clear(); Detached.Clear(); Removed.Clear(); }
/// <summary>Clears this instance.</summary> protected virtual void Clear() { Live.Clear(); Dead.Clear(); DMRetranslocationSupply = 0.0; DMReallocationSupply = 0.0; NRetranslocationSupply = 0.0; NReallocationSupply = 0.0; PotentialDMAllocation = 0.0; PotentialStructuralDMAllocation = 0.0; PotentialMetabolicDMAllocation = 0.0; StructuralDMDemand = 0.0; StorageDMDemand = 0.0; Allocated.Clear(); Senesced.Clear(); Detached.Clear(); Removed.Clear(); }