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
824 3887d 18h werner /branches/port_qt5_64bit/src/ fixed *big* regeneration bug. The map with the height of saplings on a resource unit was used in the establishment subroutine although it was *invalid*. Now the establishment and the regeneration are (again?) in one function and use the same valid map.
this removed the strange stripes in the regeneration pattern (there should have been crashes, but weren't). Consequently, the performance debug output was modified.
added better formatting to debugtimer.cpp for large times (in hours, minutes, seconds).
 
779 4054d 13h werner /branches/port_qt5_64bit/  
685 4616d 14h werner /trunk/src/core/ changed establishment: now (after some discussion), we use two random numbers and "emulate" the multiplication ( seed x biotic x abiotic ). First we select choose for 20m seed pixels a random number for abiotic environment (abiotic), and if ok for every 2x2m pixel (biotic x seed). This split is a huge performance improvement, but leads probably to more "pixels" in the 20m resolution. First tests do not show those effects, though.  
671 4637d 14h werner /trunk/src/ Necessary changes for GPL licence (i.e. headers in all source files)  
639 4798d 11h werner / move current content to the "trunk"  
624 4852d 18h werner /src/core/ performance improvements / modifications.  
444 5116d 16h werner /src/core/ added a "randomGenerator" - function to the resource unit -> this should be used when fetching random numbers from within functions that are executed in a multi-threaded way. You could also use GlobalSettings::instance()->randomGenerator().  
443 5116d 18h werner /src/ problems with multihtreading and the random generator. Crashes revealed that the MersenneTwister class is not multithreadable; The solution now is to have for each Thread in the thread pool one random number generator. This removes the crashes, but makes changes to the code necessary.  
442 5117d 12h werner /src/ Debug output for establishment.  
440 5118d 16h werner /src/core/ climate: added a pre-calculated value for the 10.5hrs day
including establishment calculation in the normal execution path.
 
439 5119d 12h werner /src/core/ coded the establishment core routine (without testing yet)
adapted the GridRunner
 
434 5120d 15h werner /src/ creation of the Establishment class.
added calculation of chilling requirements to Phenology (not good enough, though)
added also a little test routine for Establishment