Inheritance diagram for javawrapper::Allometry:
Public Member Functions | |
Allometry (GUIManager oManager) | |
Constructor. | |
void | DoSetup (TreePopulation oPop) throws ModelException |
Does setup. | |
void | ValidateData (TreePopulation oPop) throws ModelException |
This makes sure all data is valid and can be used to run the model. | |
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 after changing XML tag names. | |
Protected Attributes | |
ModelVector | mp_fMaxCanopyHeight |
Species-specific - maximum crown height. | |
ModelVector | mp_fSlopeOfAsymptoticHeight |
Species-specific - slope of asymptotic height. | |
ModelVector | mp_fCrownRadExp |
Species-specific - exponent in crown radius equation. | |
ModelVector | mp_fCrownHtExp |
Species-specific - exponent in crown height equation. | |
ModelVector | mp_fSlopeOfAsympCrownRad |
Species-specific - slope of asymptotic crown radius. | |
ModelVector | mp_fSlopeOfAsympCrownHt |
Species-specific - slope of the asymptotic crown height. | |
ModelVector | mp_fSlopeOfHeightDiam10 |
Species-specific - slope of the height-diam10 relationship. | |
ModelVector | mp_fDiam10ToDbhSlope |
Species-specific - slope of relationship of diam10 to dbh. | |
ModelVector | mp_fDiam10ToDbhIntercept |
Species-specific - intercept of relationship of diam10 to dbh. | |
ModelVector | mp_fAdultLinearSlope |
Slope of linear height-DBH relationship for adults - not required if the linear relationship isn't used. | |
ModelVector | mp_fAdultLinearIntercept |
Intercept of linear height-DBH relationship for adults - not required if the linear relationship isn't used. | |
ModelVector | mp_fSaplingLinearSlope |
Slope of linear height-DBH relationship for saplings - not required if the linear relationship isn't used. | |
ModelVector | mp_fSaplingLinearIntercept |
Intercept of linear height-DBH relationship for saplings - not required if the linear relationship isn't used. | |
ModelVector | mp_fSeedlingLinearSlope |
Slope of linear height-DBH relationship for seedlings - not required if the linear relationship isn't used. | |
ModelVector | mp_fSeedlingLinearIntercept |
Intercept of linear height-DBH relationship for seedlings - not required if the linear relationship isn't used. | |
ModelVector | mp_fAdultReverseLinearSlope |
Slope of reverse linear height-DBH relationship for adults - not required if the reverse linear relationship isn't used. | |
ModelVector | mp_fAdultReverseLinearIntercept |
Intercept of reverse linear height-DBH relationship for adults - not required if the reverse linear relationship isn't used. | |
ModelVector | mp_fSaplingReverseLinearSlope |
Slope of reverse linear height-DBH relationship for saplings - not required if the reverse linear relationship isn't used. | |
ModelVector | mp_fSaplingReverseLinearIntercept |
Intercept of reverse linear height-DBH relationship for saplings - not required if the reverse linear relationship isn't used. | |
ModelVector | mp_fSeedlingReverseLinearSlope |
Slope of reverse linear height-DBH relationship for seedlings - not required if the reverse linear relationship isn't used. | |
ModelVector | mp_fSeedlingReverseLinearIntercept |
Intercept of reverse linear height-DBH relationship for seedlings - not required if the reverse linear relationship isn't used. | |
ModelVector | mp_iWhatSeedlingHDFunction |
Which relationship to use to relate height to diam10 for seedlings - 0 = standard, 1 = linear, 2 = reverse linear. | |
ModelVector | mp_iWhatSaplingHDFunction |
Which relationship to use to relate height to DBH for saplings - 0 = standard, 1 = linear, 2 = reverse linear. | |
ModelVector | mp_iWhatAdultHDFunction |
Which relationship to use to relate height to DBH for adults - 0 = standard, 1 = linear, 2 = reverse linear. | |
ModelVector | mp_iWhatAdultCRDFunction |
Which relationship to use to relate DBH to crown radius for adults - 0 = standard, 1 = Chapman-Richards. | |
ModelVector | mp_iWhatSaplingCRDFunction |
Which relationship to use to relate DBH to crown radius for saplings - 0 = standard, 1 = Chapman-Richards. | |
ModelVector | mp_iWhatAdultCHHFunction |
Which relationship to use to relate height to crown height for adults - 0 = standard, 1 = Chapman-Richards. | |
ModelVector | mp_iWhatSaplingCHHFunction |
Which relationship to use to relate height to crown height for saplings - 0 = standard, 1 = Chapman-Richards. | |
ModelVector | mp_fCRCrownRadIntercept |
Intercept of Chapman-Richards crown radius-DBH relationship - not required if the Chapman-Richards crown radius relationship isn't used. | |
ModelVector | mp_fCRAsympCrownRad |
Asymptotic crown radius of Chapman-Richards crown radius-DBH relationship - not required if the Chapman-Richards crown radius relationship isn't used. | |
ModelVector | mp_fCRCrownRadShape1 |
Shape parameter 1 (b) of Chapman-Richards crown radius-DBH relationship
| |
ModelVector | mp_fCRCrownRadShape2 |
Shape parameter 2 (c) of Chapman-Richards crown radius-DBH relationship
| |
ModelVector | mp_fCRCrownHtIntercept |
Intercept of Chapman-Richards crown height-height relationship - not required if the Chapman-Richards crown height relationship isn't used. | |
ModelVector | mp_fCRAsympCrownHt |
Asymptotic crown radius of Chapman-Richards crown height-height relationship - not required if the Chapman-Richards crown height relationship isn't used. | |
ModelVector | mp_fCRCrownHtShape1 |
Shape parameter 1 (b) of Chapman-Richards crown height-height relationship
| |
ModelVector | mp_fCRCrownHtShape2 |
Shape parameter 2 (c) of Chapman-Richards crown height-height relationship
| |
ModelVector | mp_fPowerA |
"a" parameter of power function height-diam relationship - not required if this function isn't used (LEM 1-25-05) | |
ModelVector | mp_fPowerB |
"b" parameter of power function height-diam relationship - not required if this function isn't used (LEM 1-25-05) |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
javawrapper::Allometry::Allometry | ( | GUIManager | oManager | ) | [inline] |
Constructor.
oManager | GUIManager object |
void javawrapper::Allometry::DoSetup | ( | TreePopulation | oPop | ) | throws ModelException [inline, virtual] |
Does setup.
Sets up the enums for the function lists.
oPop | TreePopulation object. |
ModelException | passing through from called functions. |
Implements javawrapper::WorkerBase.
boolean javawrapper::Allometry::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 after changing XML tag names.
This was done in version 6.05 and can be removed after several versions.
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. |
void javawrapper::Allometry::ValidateData | ( | TreePopulation | oPop | ) | throws ModelException [inline, virtual] |
This makes sure all data is valid and can be used to run the model.
ModelException | in any of the following cases:
|
oPop | Not used. |
Implements javawrapper::WorkerBase.
Initial value:
new ModelVector( "Adult Linear Function Intercept", "tr_adultLinearIntercept", "tr_aliVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Adult Linear Function Slope", "tr_adultLinearSlope", "tr_alsVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Adult Reverse Linear Function Intercept", "tr_adultReverseLinearIntercept", "tr_arliVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Adult Reverse Linear Function Slope", "tr_adultReverseLinearSlope", "tr_arlsVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Chapman-Richards Asymptotic Crown Height", "tr_chRichCrownHtAsymp", "tr_crchaVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Chapman-Richards Asymptotic Crown Radius", "tr_chRichCrownRadAsymp", "tr_crcraVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Chapman-Richards Crown Height Intercept", "tr_chRichCrownHtIntercept", "tr_crchiVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Chapman-Richards Crown Height Shape 1 (b)", "tr_chRichCrownHtShape1b", "tr_crchs1bVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Chapman-Richards Crown Height Shape 2 (c)", "tr_chRichCrownHtShape2c", "tr_crchs2cVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Chapman-Richards Crown Radius Intercept", "tr_chRichCrownRadIntercept", "tr_crcriVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Chapman-Richards Crown Radius Shape 1 (b)", "tr_chRichCrownRadShape1b", "tr_crcrs1bVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Chapman-Richards Crown Radius Shape 2 (c)", "tr_chRichCrownRadShape2c", "tr_crcrs2cVal", 0, ModelVector.FLOAT, true)
ModelVector javawrapper::Allometry::mp_fCrownHtExp [protected] |
Initial value:
new ModelVector( "Crown Height Exponent", "tr_stdCrownHtExp", "tr_scheVal", 0, ModelVector.FLOAT, true)
ModelVector javawrapper::Allometry::mp_fCrownRadExp [protected] |
Initial value:
new ModelVector( "Crown Radius Exponent", "tr_stdCrownRadExp", "tr_screVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Intercept of DBH to Diameter at 10 cm Relationship", "tr_interceptDiam10ToDBH", "tr_idtdVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Slope of DBH to Diameter at 10 cm Relationship", "tr_conversionDiam10ToDBH", "tr_cdtdVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Maximum Tree Height, in meters", "tr_canopyHeight", "tr_chVal", 0, ModelVector.FLOAT, true)
ModelVector javawrapper::Allometry::mp_fPowerA [protected] |
Initial value:
new ModelVector( "Power Function \"a\"", "tr_saplingPowerA", "tr_sapaVal", 0, ModelVector.FLOAT, true)
ModelVector javawrapper::Allometry::mp_fPowerB [protected] |
Initial value:
new ModelVector( "Power Function Exponent \"b\"", "tr_saplingPowerB", "tr_sapbVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Sapling Linear Function Intercept", "tr_saplingLinearIntercept", "tr_aliVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Sapling Linear Function Slope", "tr_saplingLinearSlope", "tr_salsVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Sapling Reverse Linear Function Intercept", "tr_saplingReverseLinearIntercept", "tr_sarliVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Sapling Reverse Linear Function Slope", "tr_saplingReverseLinearSlope", "tr_sarlsVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Seedling Linear Function Intercept", "tr_seedlingLinearIntercept", "tr_seliVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Seedling Linear Function Slope", "tr_seedlingLinearSlope", "tr_selsVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Seedling Reverse Linear Function Intercept", "tr_seedlingReverseLinearIntercept", "tr_serliVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Seedling Reverse Linear Function Slope", "tr_seedlingReverseLinearSlope", "tr_serlsVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Slope of Asymptotic Crown Height", "tr_stdAsympCrownHt", "tr_sachVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Slope of Asymptotic Crown Radius", "tr_stdAsympCrownRad", "tr_sacrVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Slope of Asymptotic Height", "tr_slopeOfAsymHeight", "tr_soahVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Slope of Height-Diameter at 10 cm Relationship", "tr_slopeOfHeight-Diam10", "tr_sohdVal", 0, ModelVector.FLOAT, true)
Initial value:
new ModelVector( "Adult Crown Height-Height Function", "tr_whatAdultCrownHeightHeight", "tr_wachhVal", 0, ModelVector.MODEL_ENUM, true)
Initial value:
new ModelVector( "Adult Crown Radius-Diameter Function", "tr_whatAdultCrownRadDiam", "tr_wacrdVal", 0, ModelVector.MODEL_ENUM, true)
Initial value:
new ModelVector( "Adult Height-Diameter Function", "tr_whatAdultHeightDiam", "tr_wahdVal", 0, ModelVector.MODEL_ENUM, true)
Initial value:
new ModelVector( "Sapling Crown Height-Height Function", "tr_whatSaplingCrownHeightHeight", "tr_wschhVal", 0, ModelVector.MODEL_ENUM, true)
Initial value:
new ModelVector( "Sapling Crown Radius-Diameter Function", "tr_whatSaplingCrownRadDiam", "tr_wscrdVal", 0, ModelVector.MODEL_ENUM, true)
Initial value:
new ModelVector( "Sapling Height-Diameter Function", "tr_whatSaplingHeightDiam", "tr_wsahdVal", 0, ModelVector.MODEL_ENUM, true)
Initial value:
new ModelVector( "Seedling Height-Diameter Function", "tr_whatSeedlingHeightDiam", "tr_wsehdVal", 0, ModelVector.MODEL_ENUM, true)