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
685 4711d 23h 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 4732d 23h werner /trunk/src/ Necessary changes for GPL licence (i.e. headers in all source files)  
639 4893d 20h werner / move current content to the "trunk"  
624 4948d 03h werner /src/core/ performance improvements / modifications.  
444 5212d 01h 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 5212d 03h 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 5212d 21h werner /src/ Debug output for establishment.  
440 5214d 01h werner /src/core/ climate: added a pre-calculated value for the 10.5hrs day
including establishment calculation in the normal execution path.
 
439 5214d 21h werner /src/core/ coded the establishment core routine (without testing yet)
adapted the GridRunner
 
434 5216d 00h 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