Rev 802 | Rev 1104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 802 | Rev 1001 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | #include "speciesset.h"
|
26 | #include "speciesset.h"
|
27 | #include "species.h"
|
27 | #include "species.h"
|
28 | #include "model.h"
|
28 | #include "model.h"
|
29 | #include "seeddispersal.h"
|
29 | #include "seeddispersal.h"
|
30 | #include "modelsettings.h"
|
30 | #include "modelsettings.h"
|
- | 31 | #include "debugtimer.h"
|
|
31 | 32 | ||
32 | /** @class SpeciesSet
|
33 | /** @class SpeciesSet
|
33 | A SpeciesSet acts as a container for individual Species objects. In iLand, theoretically,
|
34 | A SpeciesSet acts as a container for individual Species objects. In iLand, theoretically,
|
34 | multiple species sets can be used in parallel.
|
35 | multiple species sets can be used in parallel.
|
35 | */
|
36 | */
|
Line 163... | Line 164... | ||
163 | }
|
164 | }
|
164 | void SpeciesSet::regeneration() |
165 | void SpeciesSet::regeneration() |
165 | {
|
166 | {
|
166 | if (!GlobalSettings::instance()->model()->settings().regenerationEnabled) |
167 | if (!GlobalSettings::instance()->model()->settings().regenerationEnabled) |
167 | return; |
168 | return; |
168 | - | ||
- | 169 | DebugTimer t("seed dispersal (all species)"); |
|
169 | 170 | ||
170 | ThreadRunner runner(mActiveSpecies); // initialize a thread runner object with all active species |
171 | ThreadRunner runner(mActiveSpecies); // initialize a thread runner object with all active species |
171 | runner.run(nc_seed_distribution); |
172 | runner.run(nc_seed_distribution); |
172 | 173 | ||
173 | if (logLevelDebug()) |
174 | if (logLevelDebug()) |