Subversion Repositories public iLand

Rev

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

Rev 119 Rev 125
Line 60... Line 60...
60
    // helping functions
60
    // helping functions
61
    void calcBiomassCompartments();
61
    void calcBiomassCompartments();
62
    void partitioning(double npp);
62
    void partitioning(double npp);
63
    // state variables
63
    // state variables
64
    int mId;
64
    int mId;
65
    float mDbh;
-
 
66
    float mHeight;
-
 
-
 
65
    float mDbh; ///< diameter at breast height [cm]
-
 
66
    float mHeight; ///< tree height [m]
67
    QPointF mPosition;
67
    QPointF mPosition;
68
    // biomass compartements
68
    // biomass compartements
69
    float mLeafArea; // m2
-
 
-
 
69
    float mLeafArea; ///< m2 leaf area??
70
70
71
    float mLeafMass; // kg
71
    float mLeafMass; // kg
72
    float mStemMass; // kg
72
    float mStemMass; // kg
73
    float mRootMass; // kg
73
    float mRootMass; // kg
74
    // production relevant
74
    // production relevant
75
    float mNPPReserve; // kg
75
    float mNPPReserve; // kg
76
76
-
 
77
    float mDbhDelta; ///< diameter growth [cm]
77
78
78
    float mLRI; // resulting lightRessourceIndex
-
 
-
 
79
    float mLRI; ///< resulting lightRessourceIndex
79
    // Stamp, Species, Ressource Unit
80
    // Stamp, Species, Ressource Unit
80
    const Stamp *mStamp;
81
    const Stamp *mStamp;
81
82
82
    Species *mSpecies;
83
    Species *mSpecies;
83
    RessourceUnit *mRU;
84
    RessourceUnit *mRU;
84
85
85
    // special functions
86
    // special functions
86
    bool isDebugging() { return mId == mDebugid; }
87
    bool isDebugging() { return mId == mDebugid; }
-
 
88
    QString dump();
87
    // static data
89
    // static data
88
    static FloatGrid *mGrid;
90
    static FloatGrid *mGrid;
89
    static FloatGrid *mHeightGrid;
91
    static FloatGrid *mHeightGrid;
90
    // debugging
92
    // debugging
91
    static int mDebugid;
93
    static int mDebugid;
Line 95... Line 97...
95
    static int m_statAboveZ;
97
    static int m_statAboveZ;
96
    static int m_statCreated;
98
    static int m_statCreated;
97
    static int m_nextId;
99
    static int m_nextId;
98
};
100
};
99
101
-
 
102
/** a struct that contains details about a single tree
-
 
103
  */
-
 
104
struct SingleTreeStatistics
-
 
105
{
-
 
106
// growth
-
 
107
};
100
#endif // TREE_H
108
#endif // TREE_H