Rev 449 | Rev 451 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 449 | Rev 450 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | #define RESOURCEUNITSPECIES_H
|
3 | #define RESOURCEUNITSPECIES_H
|
4 | #include "production3pg.h"
|
4 | #include "production3pg.h"
|
5 | #include "standstatistics.h"
|
5 | #include "standstatistics.h"
|
6 | #include "speciesresponse.h"
|
6 | #include "speciesresponse.h"
|
7 | #include "establishment.h"
|
7 | #include "establishment.h"
|
- | 8 | #include "sapling.h"
|
|
8 | 9 | ||
9 | class Species; |
10 | class Species; |
10 | class ResourceUnit; |
11 | class ResourceUnit; |
11 | 12 | ||
12 | class ResourceUnitSpecies
|
13 | class ResourceUnitSpecies
|
Line 35... | Line 36... | ||
35 | // properties
|
36 | // properties
|
36 | double leafArea() const; ///< total leaf area of the species on the RU (m2). |
37 | double leafArea() const; ///< total leaf area of the species on the RU (m2). |
37 | // action
|
38 | // action
|
38 | void calculate(const bool fromEstablishment=false); ///< calculate response for species, calculate actual 3PG production |
39 | void calculate(const bool fromEstablishment=false); ///< calculate response for species, calculate actual 3PG production |
39 | void calclulateEstablishment(); ///< perform establishment calculations |
40 | void calclulateEstablishment(); ///< perform establishment calculations |
- | 41 | void calclulateSaplingGrowth(); ///< growth of saplings |
|
40 | 42 | ||
41 | private: |
43 | private: |
42 | double mLAIfactor; ///< relative amount of this species' LAI on this resource unit (0..1). Is calculated once a year. |
44 | double mLAIfactor; ///< relative amount of this species' LAI on this resource unit (0..1). Is calculated once a year. |
43 | double mRemovedGrowth; ///< m3 volume of trees removed/managed (to calculate GWL) |
45 | double mRemovedGrowth; ///< m3 volume of trees removed/managed (to calculate GWL) |
44 | StandStatistics mStatistics; ///< statistics of a species on this resource unit |
46 | StandStatistics mStatistics; ///< statistics of a species on this resource unit |
45 | StandStatistics mStatisticsDead; ///< statistics of died trees (this year) of a species on this resource unit |
47 | StandStatistics mStatisticsDead; ///< statistics of died trees (this year) of a species on this resource unit |
46 | StandStatistics mStatisticsMgmt; ///< statistics of removed trees (this year) of a species on this resource unit |
48 | StandStatistics mStatisticsMgmt; ///< statistics of removed trees (this year) of a species on this resource unit |
47 | Production3PG m3PG; ///< NPP prodution unit of this species |
49 | Production3PG m3PG; ///< NPP prodution unit of this species |
48 | SpeciesResponse mResponse; ///< calculation and storage of species specific respones on this resource unit |
50 | SpeciesResponse mResponse; ///< calculation and storage of species specific respones on this resource unit |
49 | Establishment mEstablishment; ///< establishment for seedlings and sapling growth |
51 | Establishment mEstablishment; ///< establishment for seedlings and sapling growth |
- | 52 | Sapling mSapling; ///< saplings storage/growth |
|
50 | Species *mSpecies; ///< speices |
53 | Species *mSpecies; ///< speices |
51 | ResourceUnit *mRU; ///< resource unit |
54 | ResourceUnit *mRU; ///< resource unit |
52 | int mLastYear; |
55 | int mLastYear; |
53 | }; |
56 | }; |
54 | 57 |