Go to the documentation of this file. 1 #ifndef MOJA_MODULES_CBM_STANDGROWTHCURVE_H_
2 #define MOJA_MODULES_CBM_STANDGROWTHCURVE_H_
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
5 #include "moja/flint/modulebase.h"
23 Int64
spuID()
const {
return _spuID; }
27 void processStandYieldTables();
29 double getStandTotalVolumeAtAge(
int age)
const;
30 double getStandSoftwoodVolumeRatioAtAge(
int age)
const;
33 int getStandAgeWithMaximumVolume()
const;
36 double getAnnualStandMaximumVolume()
const;
38 std::shared_ptr<const PERDFactor> getPERDFactor(
SpeciesType speciesType)
const;
39 void setPERDFactor(std::shared_ptr<PERDFactor> value,
SpeciesType);
45 void resolveStandGrowthCurveMaxAge();
46 void initStandYieldDataStorage();
47 void checkAndUpdateYieldTables();
48 void summarizeStandComponentYieldTables();
49 void updateStandMaximumVolumeAgeInfo();
Definition: foresttypeconfiguration.h:11
Definition: ageclasshelper.cpp:12
std::vector< TreeYieldTable > _hardwoodYieldTables
Definition: standgrowthcurve.h:65
Int64 _standGrowthCurveID
Definition: standgrowthcurve.h:51
ForestTypeConfiguration _swForestTypeConfiguration
Definition: standgrowthcurve.h:61
Int64 _spuID
Definition: standgrowthcurve.h:52
int standMaxAge() const
Definition: standgrowthcurve.h:24
SpeciesType
Enumeration of tree species type, softwood or hardwood.
Definition: treespecies.h:14
std::vector< double > _standMerchVolumeAtEachAge
Definition: standgrowthcurve.h:67
ADT - Tree yield table
Definition: treeyieldtable.h:16
std::vector< double > _standSoftwoodVolumeRatioAtEachAge
Definition: standgrowthcurve.h:68
int _standMaxAge
Definition: standgrowthcurve.h:53
ForestTypeConfiguration _hwForestTypeConfiguration
Definition: standgrowthcurve.h:62
virtual ~StandGrowthCurve()
Definition: standgrowthcurve.h:18
Definition: standgrowthcurve.h:16
std::vector< TreeYieldTable > _softwoodYieldTables
Definition: standgrowthcurve.h:64
bool _okToSmooth
Definition: standgrowthcurve.h:56
std::shared_ptr< PERDFactor > _hwPERDFactor
Definition: standgrowthcurve.h:59
Int64 spuID() const
Definition: standgrowthcurve.h:23
Int64 standGrowthCurveID() const
Definition: standgrowthcurve.h:22
int _standAgeForMaximumMerchVolume
Definition: standgrowthcurve.h:54
std::shared_ptr< PERDFactor > _swPERDFactor
Definition: standgrowthcurve.h:58
double _standMaximumMerchVolume
Definition: standgrowthcurve.h:55
Definition: ageclasshelper.cpp:10