Subversion Repositories public iLand

Rev

Rev 911 | Rev 937 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 911 Rev 936
Line 32... Line 32...
32
    const StandStatistics &constStatisticsDead() const { return mStatisticsDead; } ///< const accessor
32
    const StandStatistics &constStatisticsDead() const { return mStatisticsDead; } ///< const accessor
33
    const StandStatistics &constStatisticsMgmt() const { return mStatisticsMgmt; } ///< const accessor
33
    const StandStatistics &constStatisticsMgmt() const { return mStatisticsMgmt; } ///< const accessor
34
34
35
   // actions
35
   // actions
36
    void updateGWL();
36
    void updateGWL();
37
    double removedVolume() const { return mRemovedGrowth; } ///< sum of volume with was remvoved because of death/management (m3)
-
 
-
 
37
    double removedVolume() const { return mRemovedGrowth; } ///< sum of volume with was remvoved because of death/management (m3/ha)
38
    /// relative fraction of LAI of this species (0..1) (if total LAI on resource unit is >= 1, then the sum of all LAIfactors of all species = 1)
38
    /// relative fraction of LAI of this species (0..1) (if total LAI on resource unit is >= 1, then the sum of all LAIfactors of all species = 1)
39
    double LAIfactor() const { return mLAIfactor; }
39
    double LAIfactor() const { return mLAIfactor; }
40
    void setLAIfactor(const double newLAIfraction) { mLAIfactor=newLAIfraction; if (mLAIfactor<0 || mLAIfactor>1.00001) qDebug() << "invalid LAIfactor"<<mLAIfactor; }
40
    void setLAIfactor(const double newLAIfraction) { mLAIfactor=newLAIfraction; if (mLAIfactor<0 || mLAIfactor>1.00001) qDebug() << "invalid LAIfactor"<<mLAIfactor; }
41
    // properties
41
    // properties
42
    double leafArea() const; ///< total leaf area of the species on the RU (m2).
42
    double leafArea() const; ///< total leaf area of the species on the RU (m2).
Line 53... Line 53...
53
53
54
private:
54
private:
55
    ResourceUnitSpecies(const ResourceUnitSpecies &); // no copy
55
    ResourceUnitSpecies(const ResourceUnitSpecies &); // no copy
56
    ResourceUnitSpecies &operator=(const ResourceUnitSpecies &); // no copy
56
    ResourceUnitSpecies &operator=(const ResourceUnitSpecies &); // no copy
57
    double mLAIfactor; ///< relative amount of this species' LAI on this resource unit (0..1). Is calculated once a year.
57
    double mLAIfactor; ///< relative amount of this species' LAI on this resource unit (0..1). Is calculated once a year.
58
    double mRemovedGrowth; ///< m3 volume of trees removed/managed (to calculate GWL)
-
 
-
 
58
    double mRemovedGrowth; ///< m3 volume of trees removed/managed (to calculate GWL) (m3/ha)
59
    StandStatistics mStatistics; ///< statistics of a species on this resource unit
59
    StandStatistics mStatistics; ///< statistics of a species on this resource unit
60
    StandStatistics mStatisticsDead; ///< statistics of died trees (this year) of a species on this resource unit
60
    StandStatistics mStatisticsDead; ///< statistics of died trees (this year) of a species on this resource unit
61
    StandStatistics mStatisticsMgmt; ///< statistics of removed trees (this year) of a species on this resource unit
61
    StandStatistics mStatisticsMgmt; ///< statistics of removed trees (this year) of a species on this resource unit
62
    Production3PG m3PG; ///< NPP prodution unit of this species
62
    Production3PG m3PG; ///< NPP prodution unit of this species
63
    SpeciesResponse mResponse; ///< calculation and storage of species specific respones on this resource unit
63
    SpeciesResponse mResponse; ///< calculation and storage of species specific respones on this resource unit