Subversion Repositories public iLand

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
534 5044d 08h werner /src/ large(r) update of the soil model. Now, the 'kyl' and 'kyr' parameters (i.e. decomposition rates for the litter/wood-soil pool) are now species parameters and calculated dynamically from the litter inputs.  
479 5100d 01h werner /src/ pro-file: found a way to use debug symbols in release mode: one has to also alter the link-flags to disable stripping of symbols during linking.
fixed a bug in seed dispersal.
 
475 5100d 09h werner /src/ * Snag dynamics
debug output "SnagDynamics"
life cycle of Snag objects
include Snag Dynamics in newYear / year end routines

* threadrunner.cpp: parallel execution of species related tasks, e.g. the seed dispersal. In the current form, the ThreadRunner is much nicer:
ThreadRunner runner(mActiveSpecies);
runner.run(func_ptr);
 
470 5104d 13h werner /src/core/ add light response function to sapling growth (rest: constness of lightresponse function calls)  
428 5236d 09h werner /src/ added linearization for some expressions (e.g. light response), and a global switch to enabled/disable the linerization using one static boolean (triggered by a iland setting)  
425 5237d 10h werner /src/ made the calculate() and execute() function of Expression const (using a trick), so there is no more need for un-const functions which should be const (e.g. in Species).  
420 5238d 01h werner /src/core/ removed the QMutex and the QMutexLocker for serializing the execution of expression evaluations. This is no longer necessary, because Expression::calculate() now is reentrant.
The performance effect of this change is awesome: the time used to grow individual trees drops by ca. 40% (the total runtime is maybe 5-10% faster) (tested with iLandSpeed.xml -> 2x2km)
 
415 5238d 10h werner /src/core/ seed dispersal:
* defining synchronized seed years for each species
* use different seed kernels depending on seed year state
* create two kernels for each species (1x seed year, 1 x non-seed-year)
* newYear() function also for each Species
 
393 5263d 11h werner /src/ fixed a bug in StampContainer when loading trees with invalid hd-ratio (too low trees).
fixed a bug that caused a crash when seed dispersal was disabled.
added return values for stand init routines (also those that accessed by scripting) and cleaned up the documentation.
 
391 5265d 08h werner /src/ a rather large update mainly in course of the implementation of seed dispersal.
* integrating the seed dispersal within the model logic
(new function e.g. SpeciesSet::newYear() or SpeciesSet::regeneration()).
* SeedDispersal: implementation of the Seed-Kernel a la TreeMig (see the R-Script on dispersal by Rupert)
Additionally:
new functions (sum(), multiply() for the Grid-template.
 
387 5266d 01h werner /src/ integrating seed dispersal into the model
moved global constants for grid sizes into globalsettings.h
 
318 5413d 12h werner /src/ AJFZ-troubles; changes during setup of environment (added some error messages, improved path handling, ...)  
298 5435d 04h werner /src/core/ comments  
274 5461d 03h werner /src/ lightResponseClasses (changed in SpeciesSet, Species and Tree)  
270 5461d 17h werner /src/core/ added warning if species table not found  
214 5477d 20h werner /src/ finished Phenology. lots of related changes.  
213 5477d 23h werner /src/  
211 5478d 01h werner /src/ Phenology class and things that come with that.  
210 5478d 04h werner /src/ class "Sun", added "site"-varaibles to the project file.  
209 5478d 19h werner /src/ Environmental responses:
VPD, Temperature, CO2, Nitrogen
 
191 5484d 02h werner /src/ change of project file structure. update of node requests  
179 5485d 19h werner /src/ added standoutput (accompanied by some changes at other places)  
125 5502d 22h Werner /src/ growth of individual trees  
120 5505d 22h Werner /src/ hunted a "bug" in the IException class - finally after some rewriting it came up that the bug was a faulty access in the drawing routine... aarrgghhhhh...  
119 5506d 01h Werner /src/ added HD-range species parameter.  
111 5507d 22h Werner /src/ added "RessourceUnitSpecies" (included setup and access functions). Each species has now a numeric index which is used to construct vectors of RessourceUnitSpecies per RessourceUnit.  
102 5509d 02h Werner /src/ * added a global XML-node of the project file to GlobalSettings (each setup() routine has access to that)
* loading of stamps for each species.
 
99 5509d 15h Werner /src/ added handling for file path to xml-project files and to GlobalSettings.  
94 5509d 20h Werner /src/ modelCreate-Test: successfully creates a model, a speciesSet, loads a rudimentary species from a SQLite table (the locations etc. are read from a xml file using the cute XmlHelper class). The species have some Expression-formulas for allometries.  
91 5510d 03h Werner /src/ started implementation of SpeciesSet; this includes lots of tinkering around with global functions, Database-connections and that like.  
90 5510d 04h Werner /src/ changed TreeSpecies -> Species.
added class SpeciesSet.