saplings from 5cm to 4m
More...
#include <sapling.h>
saplings from 5cm to 4m
Sapling stores saplings per species and resource unit and computes sapling growth (before recruitment).
http://iland.boku.ac.at/sapling+growth+and+competition Saplings are established in a separate step (
- See also
- Regeneration). If sapling reach a height of 4m, they are recruited and become "real" iLand-trees. Within the regeneration layer, a cohort-approach is applied.
◆ Sapling()
◆ addSapling()
int Sapling::addSapling |
( |
const QPoint & |
pos_lif, |
|
|
const float |
height = 0.05f , |
|
|
const int |
age = 1 |
|
) |
| |
add a new sapling at 'pos_lif' (i.e.
add a sapling at the given position (index on the LIF grid, i.e. 2x2m)
QPoint with LIF-coordiantes) and with (optionally) 'height' (m) and 'age' (years) Returns the index of the newly added sapling.
◆ averageAge()
double Sapling::averageAge |
( |
| ) |
const |
|
inline |
◆ averageDeltaHPot()
double Sapling::averageDeltaHPot |
( |
| ) |
const |
|
inline |
◆ averageDeltaHRealized()
double Sapling::averageDeltaHRealized |
( |
| ) |
const |
|
inline |
◆ averageHeight()
double Sapling::averageHeight |
( |
| ) |
const |
|
inline |
◆ calculateGrowth()
void Sapling::calculateGrowth |
( |
| ) |
|
perform growth + mortality + recruitment of all saplings of this RU and species
main growth function for saplings.
Statistics are cleared at the beginning of the year.
◆ carbonGain()
const CNPair & Sapling::carbonGain |
( |
| ) |
const |
|
inline |
◆ carbonLiving()
const CNPair & Sapling::carbonLiving |
( |
| ) |
const |
|
inline |
◆ cleanupStorage()
void Sapling::cleanupStorage |
( |
| ) |
|
maintenance function to clear dead/recruited saplings from storage
◆ clear()
◆ clearSapling() [1/2]
void Sapling::clearSapling |
( |
int |
index, |
|
|
const bool |
remove |
|
) |
| |
◆ clearSapling() [2/2]
void Sapling::clearSapling |
( |
SaplingTreeOld & |
tree, |
|
|
const bool |
remove |
|
) |
| |
clear (either remove or kill) a specific sapling
◆ clearSaplings() [1/2]
void Sapling::clearSaplings |
( |
const QPoint & |
position | ) |
|
clear saplings on a given position (after recruitment)
◆ clearSaplings() [2/2]
void Sapling::clearSaplings |
( |
const QRectF & |
rectangle, |
|
|
const bool |
remove_biomass |
|
) |
| |
clear saplings within a given rectangle
◆ clearStatistics()
void Sapling::clearStatistics |
( |
| ) |
|
◆ diedSaplings()
int Sapling::diedSaplings |
( |
| ) |
const |
|
inline |
◆ fillMaxHeightGrid()
void Sapling::fillMaxHeightGrid |
( |
Grid< float > & |
grid | ) |
const |
fill a grid with the maximum height of saplings per pixel (2x2m).
this function is used for visualization only
◆ hasSapling()
bool Sapling::hasSapling |
( |
const QPoint & |
position | ) |
const |
return true if sapling is present at position
◆ heightAt()
double Sapling::heightAt |
( |
const QPoint & |
position | ) |
const |
return the height at given position or 0 if position is not occupied
retrieve the height of the sapling at the location 'position' (given in LIF-coordinates) this is quite expensive and only done for initialization
◆ livingSaplings()
int Sapling::livingSaplings |
( |
| ) |
const |
|
inline |
◆ livingStemNumber()
double Sapling::livingStemNumber |
( |
double & |
rAvgDbh, |
|
|
double & |
rAvgHeight, |
|
|
double & |
rAvgAge |
|
) |
| const |
returns the represented (Reineke's Law) number of trees (N/ha) and the mean dbh/height (cm/m)
get the represented (Reineke's Law) number of trees (N/ha)
◆ newSaplings()
int Sapling::newSaplings |
( |
| ) |
const |
|
inline |
◆ newYear()
void Sapling::newYear |
( |
| ) |
|
|
inline |
◆ presentPositions()
◆ recruitedSaplings()
int Sapling::recruitedSaplings |
( |
| ) |
const |
|
inline |
◆ representedStemNumber()
double Sapling::representedStemNumber |
( |
float |
height | ) |
const |
return the number of trees represented by one sapling of the current species and given 'height'
◆ saplings()
◆ setRecruitmentVariation()
static void Sapling::setRecruitmentVariation |
( |
const double |
variation | ) |
|
|
inlinestatic |
◆ setup()
◆ updateBrowsingPressure()
void Sapling::updateBrowsingPressure |
( |
| ) |
|
|
static |
◆ Snapshot
The documentation for this class was generated from the following files: