Subversion Repositories public iLand

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
1222 2768d 12h werner / public SVN  
1221 2768d 12h werner /branches/ public SVN  
1220 2768d 12h werner /branches/version1.0/ Version 1.0  
1218 2768d 14h werner / clean up repository - make 1.0 trunk again!  
1217 2768d 14h werner / clean up repository - make 1.0 trunk again!  
1104 3056d 18h werner /branches/iland_regen/ Branch dedicated to playing around with establishment/regeneration.
Goals are:
(i) speed up
(ii) introduction of new features for Yellowstone
 
802 3907d 19h werner /branches/port_qt5_64bit/ merge from trunk up to revision 801  
779 4040d 13h werner /branches/port_qt5_64bit/  
707 4571d 15h werner /trunk/src/ rework of the random numbers in iland.
Now, many (200000) random numbers are precalculated using a given algorithm (there are three or four choices), then the drandom() etc functions read from this array. After some rotations, the numbers are renewed. The point is: this is now reentrant, so the per-thread storage of MTRand objects is obsolete.
 
706 4572d 08h werner /trunk/src/ some performance tests with random number generators. Results so far are not too indicative.  
705 4572d 10h werner /trunk/src/ series of performance tests / modifications.
Using "valgrind" on the linux virtual machine, some performance
measurements were made.
Some candidates for optimization were tested. (1) the applyLIP()
function (about 30% of total run time in runYear()): here several
inlining options were tested; testing the value of the stamp before
using it (in order to omit the other steps) prooved to be slower than
unsing all stamp values.
(2) the random number generator; here the random number generation is
about 5% of the total run time; the commit contains two/three other
variants.
 
671 4623d 14h werner /trunk/src/ Necessary changes for GPL licence (i.e. headers in all source files)  
639 4784d 11h werner / move current content to the "trunk"  
615 4843d 15h werner /src/ removed windows specific _isnan() calls  
443 5102d 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.  
431 5130d 08h werner /src/ included the logLevel-Functions at several locations in the source code.
added a option to only display debug messages in the DebugTimer destructor when elapsed time is longer than one millisecond.
 
349 5224d 16h werner /src/ tested behavior of irandom(from, to). It is clear now, that results are [from, to], i.e. the upper value is also returned. Be careful when using for querying an index for a list/vector.  
289 5350d 04h werner /src/ random - things: added the Picus random-helper-classes (RandomIndex, CustomRandomPDF, ...).
added a 3rd party Mersenne-Twister-Random-Generator (added a 3rdparty) directory.
 
287 5351d 03h werner /src/ Tree initialization (random variant). works almost...  
285 5352d 22h werner /src/core/ loading of the landscape. added "areaMask.imageFile" to "world" in xml file. This loads a image mask that establishes area that are inside and outside the project area respectively.  

Show All