Inheritance diagram for javawrapper::EstablishmentBehaviors:
Public Member Functions | |
EstablishmentBehaviors (GUIManager oManager) | |
Constructor. | |
void | DoSetup (TreePopulation oPop) throws ModelException |
Does setup. | |
void | ValidateData (TreePopulation oPop) throws ModelException |
Validates data. | |
Behavior | GetBehaviorByXMLTag (String sXMLTag) |
Traps for the changed behavior names. | |
boolean | SetSingleValueByXMLTag (String sXMLTag, String sXMLParentTag, org.xml.sax.Attributes oAttributes, Object oData) throws ModelException |
Find light values for PR Establishment and reject those for light behaviors. | |
boolean | SetVectorValueByXMLTag (String sXMLTag, String sXMLParentTag, java.util.Vector p_oData, String[] p_sChildXMLTags, boolean[] p_bAppliesTo, org.xml.sax.Attributes oParentAttributes, org.xml.sax.Attributes[] p_oAttributes) throws ModelException |
Overridden for backwards compatibility and to make sure that only light values that apply to light behaviors are set. | |
Static Public Attributes | |
static final int | MOUND = 2 |
Mound substrate type. | |
static final int | GROUND = 3 |
Ground substrate type. | |
Protected Attributes | |
ModelVector[] | mp_fFreshLogsFavorability |
Fresh logs favorability for each species. | |
ModelVector[] | mp_fDecayedLogsFavorability |
Decayed logs favorability for each species. | |
ModelVector[] | mp_fScarifiedSoilFavorability |
Scarified soil favorability for each species. | |
ModelVector[] | mp_fForestFloorLitterFavorability |
Forest floor litter favorability for each species. | |
ModelVector[] | mp_fForestFloorMossFavorability |
Forest floor moss favorability for each species. | |
ModelVector[] | mp_fTipUpFavorability |
Tip-Up favorability for each species. | |
ModelVector | mp_fOptimumGLI |
Light-dependent seed survival - Optimum GLI at which establishment is not reduced for each species. | |
ModelVector | mp_fLowSlope |
Light-dependent seed survival - Slope of establishment dropoff below the optimum GLI for each species. | |
ModelVector | mp_fHighSlope |
Light-dependent seed survival - Slope of establishment dropoff above the optimum GLI for each species. | |
ModelVector | mp_fLightExtCoeffNoDmg |
Light-dependent seed survival - Light extinction coefficient of undamaged trees. | |
ModelVector | mp_fLightExtCoeffPartDmg |
Light-dependent seed survival - Light extinction coefficient of medium damaged trees. | |
ModelVector | mp_fLightExtCoeffFullDmg |
Light-dependent seed survival - Light extinction coefficient of complete damaged trees. | |
ModelVector | mp_fSnagClass1LightExtinctionCoefficient |
Light-dependent seed survival - snag age class 1 light extinction coefficient. | |
ModelVector | mp_fSnagClass2LightExtinctionCoefficient |
Light-dependent seed survival - snag age class 2 light extinction coefficient. | |
ModelVector | mp_fSnagClass3LightExtinctionCoefficient |
Light-dependent seed survival - snag age class 3 light extinction coefficient. | |
ModelVector | mp_fDensDepSlope |
Density-dependent seed survival - Density-dependence slope. | |
ModelVector | mp_fDensDepSteepness |
Density-dependent seed survival - Density-dependence steepness. | |
ModelFloat | m_fLightHeight |
Light-dependent seed survival - Height at which to calculate light. | |
ModelFloat | m_fBeamFractionOfGlobalRadiation |
Light-dependent seed survival - Beam fraction of global radiation. | |
ModelFloat | m_fClearSkyTransmissionCoefficient |
Light-dependent seed survival - Clear sky transmission coefficient. | |
ModelFloat | m_fMinSunAngle |
Light-dependent seed survival - Minimum sun angle in radians for GLI. | |
ModelFloat | m_fMoundProportion |
Proportion of the plot which is mound. | |
ModelFloat | m_fMeanMoundHeight |
Mean mound height, in m. | |
ModelFloat | m_fMoundStdDev |
Standard deviation of mound height. | |
ModelFloat | m_fMeanFreshLogHeight |
Mean log height, in m. | |
ModelFloat | m_fFreshLogStdDev |
Standard deviation of fresh log height, in m. | |
ModelInt | m_iMaxRespite |
Number of years of respite from fern shading. | |
ModelInt | m_iNumAziDiv |
Light-dependent seed survival - Number of azimuth divisions for GLI. | |
ModelInt | m_iNumAltDiv |
Light-dependent seed survival - Number of altitude divisions for GLI. | |
ModelInt | m_iJulianDayGrowthStarts |
Light-dependent seed survival - Start of growing season as Julian day. | |
ModelInt | m_iJulianDayGrowthEnds |
Light-dependent seed survival - End of growing season as Julian day. | |
ModelInt | m_iSnagAgeClass1 |
Light-dependent seed survival - Upper age limit of snag size class 1. | |
ModelInt | m_iSnagAgeClass2 |
Light-dependent seed survival - Upper age limit of snag size class 2. | |
ModelEnum | m_iUseSeedlingEfficiencyRoutine |
Package Attributes | |
ModelVector | mp_fProportionGerminating |
Proportional seed survival - Proportion of each species' seeds that survives. |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
javawrapper::EstablishmentBehaviors::EstablishmentBehaviors | ( | GUIManager | oManager | ) | [inline] |
Constructor.
oManager | GUIManager object. |
void javawrapper::EstablishmentBehaviors::DoSetup | ( | TreePopulation | oPop | ) | throws ModelException [inline, virtual] |
Does setup.
Sets up the substrate favorability grid.
oPop | TreePopulation object. |
ModelException | if there's a problem setting behavior use data. |
Implements javawrapper::WorkerBase.
void javawrapper::EstablishmentBehaviors::ValidateData | ( | TreePopulation | oPop | ) | throws ModelException [inline, virtual] |
Validates data.
oPop | TreePopulation object. |
ModelException | if:
|
Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
June 7, 2005: Added new substrate values (LEM)
October 11, 2005: Added storm light dependent seed survival (LEM)
Implements javawrapper::WorkerBase.
Behavior javawrapper::EstablishmentBehaviors::GetBehaviorByXMLTag | ( | String | sXMLTag | ) | [inline] |
Traps for the changed behavior names.
This could be removed probably by about 6.10.
sXMLTag | String The XML tag for which to find a behavior. |
Reimplemented from javawrapper::BehaviorTypeBase.
boolean javawrapper::EstablishmentBehaviors::SetSingleValueByXMLTag | ( | String | sXMLTag, | |
String | sXMLParentTag, | |||
org.xml.sax.Attributes | oAttributes, | |||
Object | oData | |||
) | throws ModelException [inline] |
Find light values for PR Establishment and reject those for light behaviors.
sXMLTag | XML tag of object to assign. | |
sXMLParentTag | The immediate parent tag that sXMLTag is within. | |
oAttributes | Ignored. | |
oData | Data to assign. |
ModelException | not thrown here. |
boolean javawrapper::EstablishmentBehaviors::SetVectorValueByXMLTag | ( | String | sXMLTag, | |
String | sXMLParentTag, | |||
java.util.Vector | p_oData, | |||
String[] | p_sChildXMLTags, | |||
boolean[] | p_bAppliesTo, | |||
org.xml.sax.Attributes | oParentAttributes, | |||
org.xml.sax.Attributes[] | p_oAttributes | |||
) | throws ModelException [inline] |
Overridden for backwards compatibility and to make sure that only light values that apply to light behaviors are set.
There are other behaviors with light values, and this will make sure that no behavior "steals" these parameters.
sXMLTag | Parent XML tag of data vector whose value is to be set. | |
sXMLParentTag | The immediate parent tag that sXMLTag is within. | |
p_oData | Vector of data values appropriate to the data type | |
p_sChildXMLTags | The XML tags of the child elements | |
p_bAppliesTo | Array of booleans saying which of the vector values should be set. This is important in the case of species-specifics - the vector index is the species number but not all species are set. | |
oParentAttributes | Attributes of parent tag. May be useful when overridding this for unusual tags. | |
p_oAttributes | Attributes passed from parser. This may be needed when overriding this function. Basic species-specific values are already handled by this function. |
ModelException | if the value could not be assigned to the data object. |
Initial value:
new ModelEnum(new int[] {0, 1} , new String[] {"false", "true"} , "Use Seedling Efficiency Routine", "es_useSeedlingEfficiencyRoutine")