20#ifndef ESTABLISHMENT_H
21#define ESTABLISHMENT_H
22#include <QtCore/QPoint>
42 bool TACgdd()
const {
return mTACA_gdd;}
46 double avgLIFValue()
const {
return mLIFcount>0?mSumLIFvalue/double(mLIFcount):0.; }
52 double calculateWaterLimitation();
54 double calculateSOLDepthLimitation();
60 int mNumberEstablished;
67 int mTACA_frostAfterBuds;
69 double mWaterLimitation;
Climate handles climate input data and performs some basic related calculations on that data.
Definition: climate.h:66
Establishment deals with the establishment process of saplings.
Definition: establishment.h:27
void clear()
Definition: establishment.cpp:69
Establishment()
Definition: establishment.cpp:43
bool TACgdd() const
TACA flag for growing degree days.
Definition: establishment.h:42
double abioticEnvironment() const
integrated value of abiotic environment (i.e.: TACA-climate + total iLand environment)
Definition: establishment.h:38
void setup(const Climate *climate, const ResourceUnitSpecies *rus)
setup function that links to a climate and the resource unit / species
Definition: establishment.cpp:53
double avgLIFValue() const
average LIF value of LIF pixels where establishment is tested
Definition: establishment.h:46
bool TACAfrostFree() const
TACA flag for number of frost free days.
Definition: establishment.h:44
double waterLimitation() const
scalar value between 0 and 1 (1: no limitation, 0: no establishment)
Definition: establishment.h:47
int growingDegreeDays() const
the groing degree days (species specific)
Definition: establishment.h:43
bool TACAchill() const
TACA flag chilling requirement.
Definition: establishment.h:41
double avgSeedDensity() const
average seed density on the RU
Definition: establishment.h:37
int TACAfrostDaysAfterBudBirst() const
number of frost days after bud birst
Definition: establishment.h:45
void writeDebugOutputs()
Definition: establishment.cpp:261
bool TACAminTemp() const
TACA flag for minimum temperature.
Definition: establishment.h:40
int numberEstablished() const
return number of newly established trees in the current year
Definition: establishment.h:39
void calculateAbioticEnvironment()
calculate the abiotic environment (TACA model)
Definition: establishment.cpp:166
The class contains data available at ResourceUnit x Species scale.
Definition: resourceunitspecies.h:34