Rev 420 | Rev 445 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 420 | Rev 425 | ||
---|---|---|---|
Line 45... | Line 45... | ||
45 | 45 | ||
46 | // turnover rates
|
46 | // turnover rates
|
47 | double turnoverLeaf() const { return mTurnoverLeaf; } |
47 | double turnoverLeaf() const { return mTurnoverLeaf; } |
48 | double turnoverRoot() const { return mTurnoverRoot; } |
48 | double turnoverRoot() const { return mTurnoverRoot; } |
49 | // hd-values
|
49 | // hd-values
|
50 | void hdRange(const double dbh, double &rMinHD, double &rMaxHD); |
- | |
- | 50 | void hdRange(const double dbh, double &rMinHD, double &rMaxHD) const; |
|
51 | // growth
|
51 | // growth
|
52 | double volumeFactor() const { return mVolumeFactor; } ///< factor for volume calculation: V = factor * D^2*H (incorporates density and the form of the bole) |
52 | double volumeFactor() const { return mVolumeFactor; } ///< factor for volume calculation: V = factor * D^2*H (incorporates density and the form of the bole) |
53 | double density() const { return mWoodDensity; } ///< density of stem wood [kg/m3] |
53 | double density() const { return mWoodDensity; } ///< density of stem wood [kg/m3] |
54 | double specificLeafArea() const { return mSpecificLeafArea; } |
54 | double specificLeafArea() const { return mSpecificLeafArea; } |
55 | // mortality
|
55 | // mortality
|
56 | double deathProb_intrinsic() const { return mDeathProb_intrinsic; } |
56 | double deathProb_intrinsic() const { return mDeathProb_intrinsic; } |
57 | inline double deathProb_stress(const double &stress_index) const; |
57 | inline double deathProb_stress(const double &stress_index) const; |
58 | // aging
|
58 | // aging
|
59 | double aging(const float height, const int age); |
- | |
- | 59 | double aging(const float height, const int age) const; |
|
60 | int estimateAge(const float height) const;///< estimate age for a tree with the current age |
60 | int estimateAge(const float height) const;///< estimate age for a tree with the current age |
61 | // regeneration
|
61 | // regeneration
|
62 | void seedProduction(const float height, const QPoint &position_index); |
62 | void seedProduction(const float height, const QPoint &position_index); |
63 | void setSeedDispersal(SeedDispersal *seed_dispersal) {mSeedDispersal=seed_dispersal; } |
63 | void setSeedDispersal(SeedDispersal *seed_dispersal) {mSeedDispersal=seed_dispersal; } |
64 | // environmental responses
|
64 | // environmental responses
|
Line 127... | Line 127... | ||
127 | bool mIsSeedYear; ///< true, if current year is a seed year. see also: |
127 | bool mIsSeedYear; ///< true, if current year is a seed year. see also: |
128 | }; |
128 | }; |
129 | 129 | ||
130 | 130 | ||
131 | // inlined functions...
|
131 | // inlined functions...
|
132 | inline void Species::hdRange(const double dbh, double &rLowHD, double &rHighHD) |
- | |
- | 132 | inline void Species::hdRange(const double dbh, double &rLowHD, double &rHighHD) const |
|
133 | {
|
133 | {
|
134 | rLowHD = mHDlow.calculate(dbh); |
134 | rLowHD = mHDlow.calculate(dbh); |
135 | rHighHD = mHDhigh.calculate(dbh); |
135 | rHighHD = mHDhigh.calculate(dbh); |
136 | }
|
136 | }
|
137 | /** vpdResponse calculates response on vpd.
|
137 | /** vpdResponse calculates response on vpd.
|