#include <standgrowthcurvefactory.h>
◆ StandGrowthCurveFactory()
◆ ~StandGrowthCurveFactory()
◆ addStandGrowthCurve()
void addStandGrowthCurve |
( |
Int64 |
standGrowthCurveID, |
|
|
StandGrowthCurve & |
standGrowthCurve |
|
) |
| |
|
private |
◆ createStandGrowthCurve()
Poco::SharedPtr< StandGrowthCurve > createStandGrowthCurve |
( |
Int64 |
standGrowthCurveID, |
|
|
Int64 |
spuID, |
|
|
flint::ILandUnitDataWrapper & |
landUnitData |
|
) |
| |
Instantiate an object standGrowthCurve of StandGrowthCurve with parameters standGrowthCurveID, spuID
Get the softwoodYieldTable and hardwoodYieldTable from variables "softwood_yield_table", "hardwood_yield_table" in parameter landUnitData
Instantiate an object of TreeYieldTable with softwoodYieldTable, SpeciesType::Softwood and add it to standGrowthCurve
Instantiate an object of TreeYieldTable with hardwoodYieldTable, SpeciesType::Hardwood and add it to standGrowthCurve
For each row of variable "volume_to_biomass_parameters" in parameter landUnitData, query for the appropriate PERD factor data, based on the value of "forest_type" for each row either "Softwood" or "Hardwood", invoke StandGrowthCurve.setPERDFactor() and StandGrowthCurve.setForestTypeConfiguration()
Invoke StandGrowthCurveFactory.processStandYieldTables() to pre-process the stand growth curve, addStandGrowthCurve() with arguments standGrowthCurveID and standGrowthCurve and return the value of standGrowthCurveID in StandGrowthCurveFactory.getCache()
- Parameters
-
standGrowthCurveID | Int64 |
spuID | Int64 |
landUnitData | flint::ILandUnitDataWrapper& |
- Returns
- Poco::SharedPtr<StandGrowthCurve>
◆ getCache()
◆ getStandGrowthCurve()
The documentation for this class was generated from the following files: