Rev 94 | Rev 107 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | |||
92 | Werner | 2 | /** @class RessourceUnit |
3 | RessourceUnit is the spatial unit that encapsulates a forest stand and links to several environmental components |
||
4 | (Climate, Soil, Water, ...). |
||
5 | |||
6 | */ |
||
7 | #include <QtCore> |
||
8 | #include "global.h" |
||
9 | |||
10 | #include "ressourceunit.h" |
||
11 | |||
12 | RessourceUnit::RessourceUnit() |
||
13 | { |
||
94 | Werner | 14 | mSpeciesSet = 0; |
92 | Werner | 15 | } |
105 | Werner | 16 | |
17 | Tree &RessourceUnit::newTree() |
||
18 | { |
||
19 | // start simple: just append to the vector... |
||
20 | mTrees.append(Tree()); |
||
21 | return mTrees.back(); |
||
22 | } |