Collects information on stand level for each tree species.
More...
#include <standstatistics.h>
Collects information on stand level for each tree species.
Call clear() to clear the statistics, then call add() for each tree and finally calculate(). To aggregate on a higher level, use add() for each StandStatistics object to include, and then calculate() on the higher level. Todo-List for new items:
- add a member variable and a getter
- add to "add(Tree)" and "calculate()"
- add to "add(StandStatistics)" as well!
◆ StandStatistics()
StandStatistics::StandStatistics |
( |
| ) |
|
|
inline |
◆ add() [1/3]
void StandStatistics::add |
( |
const SaplingStat * |
sapling | ) |
|
call for regeneration layer of a species in resource unit
◆ add() [2/3]
add aggregates of stat
to own aggregates
◆ add() [3/3]
call for each tree within the domain
◆ addAreaWeighted()
void StandStatistics::addAreaWeighted |
( |
const StandStatistics & |
stat, |
|
|
const double |
weight |
|
) |
| |
add aggregates of stat
to this aggregate and scale using the weight (e.g. stockable area)
◆ addNPP()
◆ basalArea()
double StandStatistics::basalArea |
( |
| ) |
const |
|
inline |
sum of basal area of all trees (m2/ha)
◆ calculate()
void StandStatistics::calculate |
( |
| ) |
|
call after all trees are processed (postprocessing)
◆ calculateAreaWeighted()
void StandStatistics::calculateAreaWeighted |
( |
| ) |
|
call after a series of addAreaWeighted
◆ cBranch()
double StandStatistics::cBranch |
( |
| ) |
const |
|
inline |
◆ cCoarseRoot()
double StandStatistics::cCoarseRoot |
( |
| ) |
const |
|
inline |
◆ cFineRoot()
double StandStatistics::cFineRoot |
( |
| ) |
const |
|
inline |
◆ cFoliage()
double StandStatistics::cFoliage |
( |
| ) |
const |
|
inline |
◆ clear()
void StandStatistics::clear |
( |
| ) |
|
call before trees are aggregated
◆ clearOnlyTrees()
void StandStatistics::clearOnlyTrees |
( |
| ) |
|
clear the statistics only for tree biomass (keep NPP, regen, ...)
◆ cohortCount()
int StandStatistics::cohortCount |
( |
| ) |
const |
|
inline |
number of cohorts of saplings / ha
◆ count()
double StandStatistics::count |
( |
| ) |
const |
|
inline |
◆ cRegeneration()
double StandStatistics::cRegeneration |
( |
| ) |
const |
|
inline |
◆ cStem()
double StandStatistics::cStem |
( |
| ) |
const |
|
inline |
◆ dbh_avg()
double StandStatistics::dbh_avg |
( |
| ) |
const |
|
inline |
◆ gwl()
double StandStatistics::gwl |
( |
| ) |
const |
|
inline |
◆ height_avg()
double StandStatistics::height_avg |
( |
| ) |
const |
|
inline |
◆ leafAreaIndex()
double StandStatistics::leafAreaIndex |
( |
| ) |
const |
|
inline |
[m2/m2]/ha stocked area (trees > 4m)
◆ leafAreaIndexSaplings()
double StandStatistics::leafAreaIndexSaplings |
( |
| ) |
const |
|
inline |
m2/m2 LAI of sapling layer
◆ nBranch()
double StandStatistics::nBranch |
( |
| ) |
const |
|
inline |
◆ nCoarseRoot()
double StandStatistics::nCoarseRoot |
( |
| ) |
const |
|
inline |
◆ nFineRoot()
double StandStatistics::nFineRoot |
( |
| ) |
const |
|
inline |
◆ nFoliage()
double StandStatistics::nFoliage |
( |
| ) |
const |
|
inline |
◆ npp()
double StandStatistics::npp |
( |
| ) |
const |
|
inline |
sum. of NPP (kg Biomass increment, above+belowground, trees >4m)/ha
◆ nppAbove()
double StandStatistics::nppAbove |
( |
| ) |
const |
|
inline |
above ground NPP (kg Biomass increment)/ha
◆ nppSaplings()
double StandStatistics::nppSaplings |
( |
| ) |
const |
|
inline |
carbon gain of saplings (kg Biomass increment)/ha
◆ nRegeneration()
double StandStatistics::nRegeneration |
( |
| ) |
const |
|
inline |
◆ nStem()
double StandStatistics::nStem |
( |
| ) |
const |
|
inline |
◆ saplingAge()
double StandStatistics::saplingAge |
( |
| ) |
const |
|
inline |
average age of sapling (currenty not weighted with represented sapling numbers...)
◆ saplingBasalArea()
double StandStatistics::saplingBasalArea |
( |
| ) |
const |
|
inline |
total basal area (m2) of saplings (>1.3m)
◆ saplingCount()
int StandStatistics::saplingCount |
( |
| ) |
const |
|
inline |
number individuals in regeneration layer (represented by "cohortCount" cohorts) N/ha
◆ setResourceUnitSpecies()
◆ totalCarbon()
double StandStatistics::totalCarbon |
( |
| ) |
const |
|
inline |
total carbon stock: sum of carbon of all living trees + regeneration layer
◆ volume()
double StandStatistics::volume |
( |
| ) |
const |
|
inline |
sum of tree volume (m3/ha)
The documentation for this class was generated from the following files: