Rev 1221 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
671 | werner | 1 | /******************************************************************************************** |
2 | ** iLand - an individual based forest landscape and disturbance model |
||
3 | ** http://iland.boku.ac.at |
||
4 | ** Copyright (C) 2009- Werner Rammer, Rupert Seidl |
||
5 | ** |
||
6 | ** This program is free software: you can redistribute it and/or modify |
||
7 | ** it under the terms of the GNU General Public License as published by |
||
8 | ** the Free Software Foundation, either version 3 of the License, or |
||
9 | ** (at your option) any later version. |
||
10 | ** |
||
11 | ** This program is distributed in the hope that it will be useful, |
||
12 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
13 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
14 | ** GNU General Public License for more details. |
||
15 | ** |
||
16 | ** You should have received a copy of the GNU General Public License |
||
17 | ** along with this program. If not, see <http://www.gnu.org/licenses/>. |
||
18 | ********************************************************************************************/ |
||
19 | |||
546 | werner | 20 | #ifndef MODELSETTINGS_H |
21 | #define MODELSETTINGS_H |
||
22 | #include <QtCore> |
||
23 | #include "expression.h" |
||
24 | class ModelSettings |
||
25 | { |
||
26 | public: |
||
27 | ModelSettings(); |
||
28 | void loadModelSettings(); |
||
29 | void print(); |
||
30 | // list of settings |
||
31 | // general on/off switches |
||
32 | bool growthEnabled; ///< if false, trees will apply/read light patterns, but do not grow |
||
33 | bool mortalityEnabled; ///< if false, no natural (intrinsic+stress) mortality occurs |
||
34 | bool regenerationEnabled; ///< if true, seed dispersal, establishment, ... is modelled |
||
35 | bool carbonCycleEnabled; ///< if true, snag dynamics and soil CN cycle is modelled |
||
36 | // light |
||
37 | double lightExtinctionCoefficient; ///< "k" parameter (beer lambert) used for calc. of absorbed light on resourceUnit level |
||
38 | double lightExtinctionCoefficientOpacity; ///< "k" for beer lambert used for opacity of single trees |
||
1182 | werner | 39 | bool torusMode; ///< special mode that treats each resource unit as a "torus" (light calculation, seed distribution) |
546 | werner | 40 | // climate |
1182 | werner | 41 | double temperatureTau; ///< "tau"-value for delayed temperature calculation acc. to Maekela 2008 |
546 | werner | 42 | // water |
43 | double airDensity; // density of air [kg / m3] |
||
44 | double laiThresholdForClosedStands; // for calculation of max-canopy-conductance |
||
45 | double boundaryLayerConductance; // 3pg-evapotranspiration |
||
46 | // nitrogen and soil model |
||
47 | bool useDynamicAvailableNitrogen; ///< if true, iLand utilizes the dynamically calculated NAvailable |
||
48 | // site variables (for now!) |
||
49 | double latitude; ///< latitude of project site in radians |
||
50 | // production |
||
51 | double epsilon; ///< maximum light use efficency used for the 3PG model |
||
52 | bool usePARFractionBelowGroundAllocation; ///< if true, the 'correct' version of the calculation of belowground allocation is used (default=true) |
||
53 | |||
54 | |||
55 | }; |
||
56 | |||
57 | #endif // MODELSETTINGS_H |