The Saplings class the container for the establishment and sapling growth in iLand.
More...
#include <saplings.h>
|
| Saplings () |
|
void | setup () |
|
void | calculateInitialStatistics (const ResourceUnit *ru) |
|
void | establishment (const ResourceUnit *ru) |
| establishment of saplings from seeds see http://iland-model.org/seed+kernel+and+seed+distribution and http://iland-model.org/establishment More...
|
|
void | saplingGrowth (const ResourceUnit *ru) |
|
void | simplifiedGrassCover (const ResourceUnit *ru) |
| run the simplified grass cover for a RU More...
|
|
double | topHeight (const ResourceUnit *ru) const |
| calculate the top height of the sapling layer More...
|
|
SaplingCell * | cell (QPoint lif_coords, bool only_valid=true, ResourceUnit **rRUPtr=nullptr) |
| return the SaplingCell (i.e. More...
|
|
QPointF | coordOfCell (ResourceUnit *ru, int cell_index) |
| return the metric coordinates of a given cell at resource unit ru and at the internal index cell_index More...
|
|
void | clearSaplings (const QRectF &rectangle, const bool remove_biomass, bool resprout) |
| clear/kill all saplings within the rectangle given by 'rectangle'. More...
|
|
void | clearSaplings (SaplingCell *s, ResourceUnit *ru, const bool remove_biomass, bool resprout) |
| clear all saplings on a given cell 's' (if 'remove_biomass' is true: biomass removed from system (e.g. burnt)) More...
|
|
void | clearAllSaplings () |
| clear all saplings, biomass is removed (not routed to the soil layer) More...
|
|
int | addSaplings (const QRectF &rectangle, QString species, double height, int age) |
| add saplings by plantings within the (metric) rectangle. Fill cells with trees of given species/height/age More...
|
|
int | addSprout (const Tree *t, bool tree_is_removed) |
| generate vegetative offspring from the tree 't' (sprouts) More...
|
|
The Saplings class the container for the establishment and sapling growth in iLand.
◆ Saplings()
◆ addSaplings()
int Saplings::addSaplings |
( |
const QRectF & |
rectangle, |
|
|
QString |
species, |
|
|
double |
height, |
|
|
int |
age |
|
) |
| |
add saplings by plantings within the (metric) rectangle. Fill cells with trees of given species/height/age
◆ addSprout()
int Saplings::addSprout |
( |
const Tree * |
t, |
|
|
bool |
tree_is_removed |
|
) |
| |
generate vegetative offspring from the tree 't' (sprouts)
◆ calculateInitialStatistics()
void Saplings::calculateInitialStatistics |
( |
const ResourceUnit * |
ru | ) |
|
◆ cell()
return the SaplingCell (i.e.
container for the ind. saplings) for the given 2x2m coordinates if 'only_valid' is true, then 0 is returned if no living saplings are on the cell 'rRUPtr' is a pointer to a RU-ptr: if provided, a pointer to the resource unit is stored
◆ clearAllSaplings()
void Saplings::clearAllSaplings |
( |
| ) |
|
clear all saplings, biomass is removed (not routed to the soil layer)
◆ clearSaplings() [1/2]
void Saplings::clearSaplings |
( |
const QRectF & |
rectangle, |
|
|
const bool |
remove_biomass, |
|
|
bool |
resprout |
|
) |
| |
clear/kill all saplings within the rectangle given by 'rectangle'.
If 'remove_biomass' is true, then the biomass is extracted (e.g. burnt), otherwise they are moved to soil
◆ clearSaplings() [2/2]
clear all saplings on a given cell 's' (if 'remove_biomass' is true: biomass removed from system (e.g. burnt))
◆ coordOfCell()
QPointF Saplings::coordOfCell |
( |
ResourceUnit * |
ru, |
|
|
int |
cell_index |
|
) |
| |
return the metric coordinates of a given cell at resource unit ru
and at the internal index cell_index
◆ establishment()
◆ saplingGrowth()
◆ setRecruitmentVariation()
static void Saplings::setRecruitmentVariation |
( |
const double |
variation | ) |
|
|
inlinestatic |
◆ setup()
◆ simplifiedGrassCover()
void Saplings::simplifiedGrassCover |
( |
const ResourceUnit * |
ru | ) |
|
run the simplified grass cover for a RU
◆ topHeight()
calculate the top height of the sapling layer
◆ updateBrowsingPressure()
void Saplings::updateBrowsingPressure |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: