|
GCBM
|
#include <volumetobiomassconverter.h>

Public Member Functions | |
| VolumeToBiomassConverter (bool smootherEnabled=true) | |
| virtual | ~VolumeToBiomassConverter () |
| std::shared_ptr< ComponentBiomassCarbonCurve > | generateComponentBiomassCarbonCurve (StandGrowthCurve &standGrowthCurve, SpeciesType speciesType) |
| void | setSmoothing (bool enabled) |
| void | doSmoothing (const StandGrowthCurve &standGrowthCurve, ComponentBiomassCarbonCurve *carbonCurve, SpeciesType speciesType) |
Private Attributes | |
| bool | _smootherEnabled |
| Smoother | _smoother |
| VolumeToBiomassConverter | ( | bool | smootherEnabled = true | ) |
|
virtual |
| void doSmoothing | ( | const StandGrowthCurve & | standGrowthCurve, |
| ComponentBiomassCarbonCurve * | carbonCurve, | ||
| SpeciesType | speciesType | ||
| ) |
If VolumeToBiomassConverter._smootherEnabled is true, invoke Smooth.smooth with arguments as parameters standGrowthCurve, carbonCurve, speciesType
| standGrowthCurve | StandGrowthCurve& |
| carbonCurve | ComponentBiomassCarbonCurve* |
| speciesType | SpeciesType |
| std::shared_ptr< ComponentBiomassCarbonCurve > generateComponentBiomassCarbonCurve | ( | StandGrowthCurve & | standGrowthCurve, |
| SpeciesType | speciesType | ||
| ) |
Generate stand component biomass carbon curve. The component is either of softwood or hardwood. This version assumes that the stand growth curve has all of the required data including: leading species for each component and PERD factor for each leading species.
| standGrowthCurve | StandGrowthCurve& |
| speciesType | SpeciesType |
| void setSmoothing | ( | bool | enabled | ) |
|
private |
|
private |
1.8.17