#include <standbiomasscarboncurve.h>
◆ StandBiomassCarbonCurve()
◆ ~StandBiomassCarbonCurve()
◆ addComponent()
◆ getAboveGroundCarbonCurve()
std::vector< double > getAboveGroundCarbonCurve |
( |
| ) |
|
Get the absolute total aboveground carbon at each age, where index = age
Create a vector variable, curve, to store the absolute total aboveground carbon at each age
For each component in StandBiomassCarbonCurve._components, invoke StandComponent.getAboveGroundCarbonCurve() and assign it to variable componentCurve
If the size of componentCurve > size of curve, resize variable curve to the size of componentCurve, initialise the new indices in curve to 0.0
For each index in range 0 to the size of componentCurve, add the value of componentCurve at that index to the value at the same index in variable curve
Return variable curve
- Returns
- vector<double>
◆ getFoliageCarbonCurve()
std::vector< double > getFoliageCarbonCurve |
( |
| ) |
|
Get the absolute total foliage carbon at each age, where index = age
Create a vector variable, curve, to store the absolute total foliage carbon at each age
For each component in StandBiomassCarbonCurve._components, invoke StandComponent.getFoliageCarbonCurve() and assign it to variable componentCurve
If the size of componentCurve > size of curve, resize variable curve to the size of componentCurve, initialise the new indices in curve to 0.0
For each index in range 0 to the size of componentCurve, add the value of componentCurve at that index to the value at the same index in variable curve
Return variable curve
- Returns
- vector<double>
◆ getIncrements()
std::unordered_map< std::string, double > getIncrements |
( |
flint::ILandUnitDataWrapper * |
landUnitData | ) |
|
◆ getMerchCarbonCurve()
std::vector< double > getMerchCarbonCurve |
( |
| ) |
|
Get the absolute total merchantable carbon at each age, where index = age
Create a vector variable, curve, to store the absolute total merchantable carbon at each age
For each component in StandBiomassCarbonCurve._components, invoke StandComponent.getMerchCarbonCurve() and assign it to variable componentCurve
If the size of componentCurve > size of curve, resize variable curve to the size of componentCurve, initialise the new indices in curve to 0.0
For each index in range 0 to the size of componentCurve, add the value of componentCurve at that index to the value at the same index in variable curve
Return variable curve
- Returns
- vector<double>
◆ getOtherCarbonCurve()
std::vector< double > getOtherCarbonCurve |
( |
| ) |
|
Get the absolute total other carbon at each age, where index = age
Create a vector variable, curve, to store the absolute total other carbon at each age
For each component in StandBiomassCarbonCurve._components, invoke StandComponent.getOtherCarbonCurve() and assign it to variable componentCurve
If the size of componentCurve > size of curve, resize variable curve to the size of componentCurve, initialise the new indices in curve to 0.0
For each index in range 0 to the size of componentCurve, add the value of componentCurve at that index to the value at the same index in variable curve
Return variable curve
- Returns
- vector<double>
◆ writeDebuggingInfo()
void writeDebuggingInfo |
( |
const std::string & |
path | ) |
|
◆ _components
The documentation for this class was generated from the following files: