コード例 #1
0
 /// <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();
 }
コード例 #2
0
 /// <summary>Clears this instance.</summary>
 protected void Clear()
 {
     Height = 0;
     StartNRetranslocationSupply = 0;
     StartNReallocationSupply    = 0;
     LiveFWt = 0;
     DMDemand.Clear();
     DMSupply.Clear();
     NDemand.Clear();
     NSupply.Clear();
     Detached.Clear();
 }
コード例 #3
0
ファイル: SimpleLeaf.cs プロジェクト: mpandreucci/ApsimX
 /// <summary>Clears this instance.</summary>
 private void Clear()
 {
     Live = new Biomass();
     Dead = new Biomass();
     DMSupply.Clear();
     NSupply.Clear();
     DMDemand.Clear();
     NDemand.Clear();
     potentialDMAllocation.Clear();
     Height          = 0;
     LAI             = 0;
     LeafInitialised = false;
 }
コード例 #4
0
 /// <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();
 }
コード例 #5
0
ファイル: PerennialLeaf.cs プロジェクト: ver078/ApsimX
 /// <summary>Clears this instance.</summary>
 protected void Clear()
 {
     Height = 0;
     StartNRetranslocationSupply = 0;
     StartNReallocationSupply    = 0;
     LiveFWt = 0;
     DMDemand.Clear();
     DMSupply.Clear();
     NDemand.Clear();
     NSupply.Clear();
     Detached.Clear();
     Leaves.Clear();
     if (Structure != null)
     {
         Structure.LeafTipsAppeared = 0;
     }
 }
コード例 #6
0
ファイル: SimpleLeaf.cs プロジェクト: lie112/ApsimX
 /// <summary>
 /// Clears this instance.
 /// </summary>
 private void Clear()
 {
     Live = new Biomass();
     Dead = new Biomass();
     DMSupply.Clear();
     NSupply.Clear();
     DMDemand.Clear();
     NDemand.Clear();
     potentialDMAllocation.Clear();
     Height            = 0;
     LAI               = 0;
     leafInitialised   = false;
     GrowthRespiration = 0;
     FRGR              = 0;
     LightProfile      = null;
     PotentialEP       = 0;
     LAIDead           = 0;
     WaterDemand       = 0;
     WaterAllocation   = 0;
 }
コード例 #7
0
 /// <summary>Clears this instance.</summary>
 protected void Clear()
 {
     Height       = 0;
     PotentialEP  = 0;
     WaterDemand  = 0;
     LightProfile = null;
     StartNRetranslocationSupply = 0;
     StartNReallocationSupply    = 0;
     LiveFWt = 0;
     DMDemand.Clear();
     DMSupply.Clear();
     NDemand.Clear();
     NSupply.Clear();
     Detached.Clear();
     cohort.Clear();
     GrowthRespiration = 0;
     FRGR = 0;
     if (Structure != null)
     {
         Structure.LeafTipsAppeared = 0;
     }
 }