Subversion Repositories public iLand

Rev

Rev 453 | Rev 462 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 453 Rev 454
Line 37... Line 37...
37
    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).
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); } ///< add a saplings on a given position
-
 
43
    void clearSaplings(const QPoint &position) { mSapling.clearSaplings(position);} ///< clear saplings on a given position (after recruitment)
-
 
44
43
    // visualization/graphical output
45
    // visualization/graphical output
44
    void visualGrid(Grid<float> &grid) const;
46
    void visualGrid(Grid<float> &grid) const;
45
47
46
private:
48
private:
-
 
49
    ResourceUnitSpecies(const ResourceUnitSpecies &); // no copy
-
 
50
    ResourceUnitSpecies &operator=(const ResourceUnitSpecies &); // no copy
47
    double mLAIfactor; ///< relative amount of this species' LAI on this resource unit (0..1). Is calculated once a year.
51
    double mLAIfactor; ///< relative amount of this species' LAI on this resource unit (0..1). Is calculated once a year.
48
    double mRemovedGrowth; ///< m3 volume of trees removed/managed (to calculate GWL)
52
    double mRemovedGrowth; ///< m3 volume of trees removed/managed (to calculate GWL)
49
    StandStatistics mStatistics; ///< statistics of a species on this resource unit
53
    StandStatistics mStatistics; ///< statistics of a species on this resource unit
50
    StandStatistics mStatisticsDead; ///< statistics of died trees (this year) of a species on this resource unit
54
    StandStatistics mStatisticsDead; ///< statistics of died trees (this year) of a species on this resource unit
51
    StandStatistics mStatisticsMgmt; ///< statistics of removed trees (this year) of a species on this resource unit
55
    StandStatistics mStatisticsMgmt; ///< statistics of removed trees (this year) of a species on this resource unit