javawrapper::SubstrateBehaviors Class Reference

Manages substrate data and behaviors. More...

Inheritance diagram for javawrapper::SubstrateBehaviors:

javawrapper::BehaviorTypeBase javawrapper::WorkerBase List of all members.

Public Member Functions

 SubstrateBehaviors (GUIManager oManager)
 Constructor.
void DoSetup (TreePopulation oPop) throws ModelException
 Sets up the substrate grids.
boolean SetSingleValueByXMLTag (String sXMLTag, String sXMLParentTag, org.xml.sax.Attributes oAttributes, Object oData) throws ModelException
 Overridden to provide backwards compatibility - I changed XML tag names.
void ValidateData (TreePopulation oPop) throws ModelException
 Validates the data in preparation for parameter file writing or some such.

Protected Member Functions

void SetSingleValue (ModelData oDataMember, Object oData) throws ModelException
 Overridden from WorkerBase.

Protected Attributes

ModelVector mp_fProportionOfDeadThatFall
 Proportion of dead that fall for each species.
ModelVector mp_fProportionOfFallenThatUproot
 Proportion of fallen that uproot for each species.
ModelVector mp_fProportionOfSnagsThatUproot
 Proportion of snags that uproot for each species.
ModelFloat m_fScarSoilA
 Scarified soil decay alpha.
ModelFloat m_fScarSoilB
 Scarified soil decay beta.
ModelFloat m_fTipUpA
 Tip-Up Mounds decay alpha.
ModelFloat m_fTipUpB
 Tip-Up Mounds decay beta.
ModelFloat m_fFreshlogA
 Fresh log decay alpha.
ModelFloat m_fFreshlogB
 Fresh log decay beta.
ModelFloat m_fDecayedlogA
 Decayed log decay alpha.
ModelFloat m_fDecayedlogB
 Decayed log decay beta.
ModelFloat m_fInitCondScarSoil
 Scarified soil initial condition proportion.
ModelFloat m_fPartialCutScarSoil
 Scarified soil partial cut proportion.
ModelFloat m_fGapCutScarSoil
 Scarified soil gap cut proportion.
ModelFloat m_fClearCutScarSoil
 Scarified soil clear cut proportion.
ModelFloat m_fInitCondTipup
 Tip-Up Mounds initial condition proportion.
ModelFloat m_fPartialCutTipup
 Tip-Up Mounds partial cut proportion.
ModelFloat m_fGapCutTipup
 Tip-Up Mounds gap cut proportion.
ModelFloat m_fClearCutTipup
 Tip-Up Mounds clear cut proportion.
ModelFloat m_fInitCondFreshLog
 Fresh log initial condition proportion.
ModelFloat m_fPartialCutFreshLog
 Fresh log partial cut proportion.
ModelFloat m_fGapCutFreshLog
 Fresh log gap cut proportion.
ModelFloat m_fClearCutFreshLog
 Fresh log clear cut proportion.
ModelFloat m_fInitCondDecLog
 Decayed log initial condition proportion.
ModelFloat m_fPartialCutDecLog
 Decayed log partial cut proportion.
ModelFloat m_fGapCutDecLog
 Decayed log gap cut proportion.
ModelFloat m_fClearCutDecLog
 Decayed log clear cut proportion.
ModelFloat m_fRootTipupFactor
 Root soil disturbance factor.
ModelFloat m_fMossProportion
 Proportion of litter/moss that is moss.
ModelEnum m_iDirectionalTreeFall
 Whether or not tree fall is directional - LEM 06/03/05.
ModelInt m_iMaxDecayTime
 Maximum number of years a substrate event hangs around.

Detailed Description

Manages substrate data and behaviors.

Copyright: Copyright (c) 2003 Charles D. Canham

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
July 21, 2004: Added calcs grids (LEM)
April 1, 2005: Changed some substrate names per CDC (LEM)
April 22, 2005: Added new snag uproot parameter (LEM)
June 3, 2005: Added combined substrate (LEM)
November 17, 2005: New decay equation for decayed logs (LEM)


Constructor & Destructor Documentation

javawrapper::SubstrateBehaviors::SubstrateBehaviors GUIManager  oManager  )  [inline]
 

Constructor.

Parameters:
oManager GUIManager object.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Member Function Documentation

void javawrapper::SubstrateBehaviors::DoSetup TreePopulation  oPop  )  throws ModelException [inline, virtual]
 

Sets up the substrate grids.

Parameters:
oPop Tree population.
Exceptions:
ModelException 
Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
July 21, 2004: Added calcs grids (LEM)

Implements javawrapper::WorkerBase.

void javawrapper::SubstrateBehaviors::SetSingleValue ModelData  oDataMember,
Object  oData
throws ModelException [inline, protected]
 

Overridden from WorkerBase.

This is on the lookout for changes to m_iMaxDecayTime, so DoSetup() can be triggered and the grids recreated.

Parameters:
oDataMember Data member to set.
oData Data value to set into data member.
Exceptions:
ModelException if data is of the wrong type.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Reimplemented from javawrapper::WorkerBase.

boolean javawrapper::SubstrateBehaviors::SetSingleValueByXMLTag String  sXMLTag,
String  sXMLParentTag,
org.xml.sax.Attributes  oAttributes,
Object  oData
throws ModelException [inline]
 

Overridden to provide backwards compatibility - I changed XML tag names.

This was put in for 6.05 - remove after several more versions.

Parameters:
sXMLTag XML tag of data object whose value is to be set.
sXMLParentTag The immediate parent tag that sXMLTag is within.
oAttributes Attributes of the object. Ignored, but may be needed by overriding objects.
oData Data value, either String or type appropriate to the data type
Returns:
true if the value was set successfully; false if the value could not be found.
Exceptions:
ModelException if the value could not be assigned to the data object.

void javawrapper::SubstrateBehaviors::ValidateData TreePopulation  oPop  )  throws ModelException [inline, virtual]
 

Validates the data in preparation for parameter file writing or some such.

Exceptions:
ModelException if:
  • m_fRootTipupFactor or m_iMaxDecayTime are not positive numbers
  • if the values in mp_fProportionOfDeadThatFall, mp_fProportionOfFallenThatUproot, and mp_fProportionOfSnagsThatUproot are not proportions
  • m_fMossProportion isn't a proportion
  • any initial or harvest conditions value isn't a proportion
  • the total of any set of initial or harvest conditions is greater than 1
Parameters:
oPop Not used.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
April 22, 2005: Added proportion checking (LEM)

Implements javawrapper::WorkerBase.


Member Data Documentation

ModelFloat javawrapper::SubstrateBehaviors::m_fClearCutDecLog [protected]
 

Initial value:

 new ModelFloat(0,
      "Clear Cut Proportion of Decayed Logs",
      "su_clearCutDecayedLog")
Decayed log clear cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fClearCutFreshLog [protected]
 

Initial value:

 new ModelFloat(0,
      "Clear Cut Proportion of Fresh Logs",
      "su_clearCutFreshLog")
Fresh log clear cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fClearCutScarSoil [protected]
 

Initial value:

 new ModelFloat(0,
      "Clear Cut Proportion of Scarified Soil",
      "su_clearCutScarSoil")
Scarified soil clear cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fClearCutTipup [protected]
 

Initial value:

 new ModelFloat(0,
      "Clear Cut Proportion of Tip-Up Mounds",
      "su_clearCutTipup")
Tip-Up Mounds clear cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fDecayedlogA [protected]
 

Initial value:

 new ModelFloat(0,
      "Decayed Log Annual Decay Alpha", "su_decayedLogDecayAlpha")
Decayed log decay alpha.

ModelFloat javawrapper::SubstrateBehaviors::m_fDecayedlogB [protected]
 

Initial value:

 new ModelFloat(0,
      "Decayed Log Annual Decay Beta", "su_decayedLogDecayBeta")
Decayed log decay beta.

ModelFloat javawrapper::SubstrateBehaviors::m_fFreshlogA [protected]
 

Initial value:

 new ModelFloat(0,
      "Fresh Log Annual Decay Alpha", "su_freshLogDecayAlpha")
Fresh log decay alpha.

ModelFloat javawrapper::SubstrateBehaviors::m_fFreshlogB [protected]
 

Initial value:

 new ModelFloat(0,
      "Fresh Log Annual Decay Beta", "su_freshLogDecayBeta")
Fresh log decay beta.

ModelFloat javawrapper::SubstrateBehaviors::m_fGapCutDecLog [protected]
 

Initial value:

 new ModelFloat(0,
      "Gap Cut Proportion of Decayed Logs",
      "su_gapCutDecayedLog")
Decayed log gap cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fGapCutFreshLog [protected]
 

Initial value:

 new ModelFloat(0,
      "Gap Cut Proportion of Fresh Logs",
      "su_gapCutFreshLog")
Fresh log gap cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fGapCutScarSoil [protected]
 

Initial value:

 new ModelFloat(0,
      "Gap Cut Proportion of Scarified Soil",
      "su_gapCutScarSoil")
Scarified soil gap cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fGapCutTipup [protected]
 

Initial value:

 new ModelFloat(0,
      "Gap Cut Proportion of Tip-Up Mounds",
      "su_gapCutTipup")
Tip-Up Mounds gap cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fInitCondDecLog [protected]
 

Initial value:

 new ModelFloat(0,
      "Initial Conditions Proportion of Decayed Logs", "su_initialDecayedLog")
Decayed log initial condition proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fInitCondFreshLog [protected]
 

Initial value:

 new ModelFloat(0,
      "Initial Conditions Proportion of Fresh Logs", "su_initialFreshLog")
Fresh log initial condition proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fInitCondScarSoil [protected]
 

Initial value:

 new ModelFloat(0,
      "Initial Conditions Proportion of Scarified Soil", "su_initialScarSoil")
Scarified soil initial condition proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fInitCondTipup [protected]
 

Initial value:

 new ModelFloat(0,
      "Initial Conditions Proportion of Tip-Up Mounds", "su_initialTipup")
Tip-Up Mounds initial condition proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fMossProportion [protected]
 

Initial value:

 new ModelFloat(0,
      "Proportion of Forest Floor Litter/Moss Pool that is Moss",
      "su_mossProportion")
Proportion of litter/moss that is moss.

ModelFloat javawrapper::SubstrateBehaviors::m_fPartialCutDecLog [protected]
 

Initial value:

 new ModelFloat(0,
      "Partial Cut Proportion of Decayed Logs", "su_partialCutDecayedLog")
Decayed log partial cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fPartialCutFreshLog [protected]
 

Initial value:

 new ModelFloat(0,
      "Partial Cut Proportion of Fresh Logs", "su_partialCutFreshLog")
Fresh log partial cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fPartialCutScarSoil [protected]
 

Initial value:

 new ModelFloat(0,
      "Partial Cut Proportion of Scarified Soil",
      "su_partialCutScarSoil")
Scarified soil partial cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fPartialCutTipup [protected]
 

Initial value:

 new ModelFloat(0,
      "Partial Cut Proportion of Tip-Up Mounds",
      "su_partialCutTipup")
Tip-Up Mounds partial cut proportion.

ModelFloat javawrapper::SubstrateBehaviors::m_fRootTipupFactor [protected]
 

Initial value:

 new ModelFloat(0,
      "Uprooted Tree Radius Increase Factor for Root Rip-Out",
      "su_rootTipupFactor")
Root soil disturbance factor.

ModelFloat javawrapper::SubstrateBehaviors::m_fScarSoilA [protected]
 

Initial value:

 new ModelFloat(0, "Scarified Soil Annual Decay Alpha",
                                    "su_scarSoilDecayAlpha")
Scarified soil decay alpha.

ModelFloat javawrapper::SubstrateBehaviors::m_fScarSoilB [protected]
 

Initial value:

 new ModelFloat(0,
      "Scarified Soil Annual Decay Beta",
      "su_scarSoilDecayBeta")
Scarified soil decay beta.

ModelFloat javawrapper::SubstrateBehaviors::m_fTipUpA [protected]
 

Initial value:

 new ModelFloat(0,
                                                  "Tip-Up Mounds Annual Decay Alpha",
                                                  "su_tipupDecayAlpha")
Tip-Up Mounds decay alpha.

ModelFloat javawrapper::SubstrateBehaviors::m_fTipUpB [protected]
 

Initial value:

 new ModelFloat(0,
                                                  "Tip-Up Mounds Annual Decay Beta",
                                                  "su_tipupDecayBeta")
Tip-Up Mounds decay beta.

ModelEnum javawrapper::SubstrateBehaviors::m_iDirectionalTreeFall [protected]
 

Initial value:

      new ModelEnum(new int[] {0, 1}
                    ,
                    new String[] {"false", "true"}
                    ,
                    "Use Directional Tree Fall",
                    "su_directionalTreeFall")
Whether or not tree fall is directional - LEM 06/03/05.

ModelInt javawrapper::SubstrateBehaviors::m_iMaxDecayTime [protected]
 

Initial value:

 new ModelInt(0,
                                     "Maximum Number of Years that Decay Occurs",
                                     "su_maxNumberDecayYears")
Maximum number of years a substrate event hangs around.

ModelVector javawrapper::SubstrateBehaviors::mp_fProportionOfDeadThatFall [protected]
 

Initial value:

 new ModelVector(
      "Proportion of Dead that Fall", "su_propOfDeadFall", "su_podfVal", 0,
      ModelVector.FLOAT)
Proportion of dead that fall for each species.

ModelVector javawrapper::SubstrateBehaviors::mp_fProportionOfFallenThatUproot [protected]
 

Initial value:

 new ModelVector(
      "Proportion of Fallen that Uproot", "su_propOfFallUproot", "su_pofuVal",
      0, ModelVector.FLOAT)
Proportion of fallen that uproot for each species.

ModelVector javawrapper::SubstrateBehaviors::mp_fProportionOfSnagsThatUproot [protected]
 

Initial value:

 new ModelVector(
      "Proportion of Snags that Uproot", "su_propOfSnagsUproot", "su_posuVal",
      0, ModelVector.FLOAT)
Proportion of snags that uproot for each species.

LEM 04/22/05


The documentation for this class was generated from the following file:
Generated on Mon Mar 27 15:15:47 2006 for SORTIE Java Interface by  doxygen 1.4.6-NO