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
779 4058d 12h werner /branches/port_qt5_64bit/  
685 4620d 13h 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 4641d 13h werner /trunk/src/ Necessary changes for GPL licence (i.e. headers in all source files)  
639 4802d 11h werner / move current content to the "trunk"  
624 4856d 17h werner /src/core/ performance improvements / modifications.  
444 5120d 15h 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 5120d 17h 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 5121d 11h werner /src/ Debug output for establishment.  
440 5122d 15h werner /src/core/ climate: added a pre-calculated value for the 10.5hrs day
including establishment calculation in the normal execution path.
 
439 5123d 11h werner /src/core/ coded the establishment core routine (without testing yet)
adapted the GridRunner
 
434 5124d 14h 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