Rev 451 | Rev 454 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 451 | Rev 453 | ||
---|---|---|---|
Line 4... | Line 4... | ||
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 | #include "sapling.h"
|
9 | - | ||
- | 9 | #include "grid.h"
|
|
10 | class Species; |
10 | class Species; |
11 | class ResourceUnit; |
11 | class ResourceUnit; |
12 | 12 | ||
13 | class ResourceUnitSpecies
|
13 | class ResourceUnitSpecies
|
14 | {
|
14 | {
|
Line 38... | Line 38... | ||
38 | // action
|
38 | // action
|
39 | 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 |
40 | void calclulateEstablishment(); ///< perform establishment calculations |
40 | void calclulateEstablishment(); ///< perform establishment calculations |
41 | void calclulateSaplingGrowth(); ///< growth of saplings |
41 | void calclulateSaplingGrowth(); ///< growth of saplings |
42 | void addSapling(const QPoint position) { mSapling.addSapling(position); } |
42 | void addSapling(const QPoint position) { mSapling.addSapling(position); } |
- | 43 | // visualization/graphical output
|
|
- | 44 | void visualGrid(Grid<float> &grid) const; |
|
43 | 45 | ||
44 | private: |
46 | private: |
45 | double mLAIfactor; ///< relative amount of this species' LAI on this resource unit (0..1). Is calculated once a year. |
47 | double mLAIfactor; ///< relative amount of this species' LAI on this resource unit (0..1). Is calculated once a year. |
46 | double mRemovedGrowth; ///< m3 volume of trees removed/managed (to calculate GWL) |
48 | double mRemovedGrowth; ///< m3 volume of trees removed/managed (to calculate GWL) |
47 | StandStatistics mStatistics; ///< statistics of a species on this resource unit |
49 | StandStatistics mStatistics; ///< statistics of a species on this resource unit |