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 4050d 13h werner /branches/port_qt5_64bit/  
777 4120d 14h werner /trunk/src/ removed a couple of warnings (partly using Q_UNUSED but also dropping of parameters)  
775 4121d 12h werner /trunk/src/core/ fixed (wrong) error message  
774 4122d 13h werner /trunk/src/ some additional error messages (expressions, stand loading)  
753 4289d 12h werner /trunk/src/ minor changes after using CPPCheck source code scan utilty.  
744 4451d 08h werner /trunk/src/ minor layout-improvement for the about-dialog
started to toy around with the graphics-stack
 
743 4451d 19h werner /trunk/ new version 0.8.2
includes topo modifier for wind module on 10m grid.
 
739 4459d 15h werner /trunk/src/core/ removed some warnings, added a ASSERT to stamp-selection (problem with
old stamps)
 
736 4463d 15h werner /trunk/src/core/ fixed the crashes (I hope).
The problem was either:
(a) if you load just one year of climate and have a leapyear, then the store for climate-days can is too short (it was: years*366, now: years*366 + 1
(b) The value of "mHeightGridTries" (in standloader) was not initialized with disabled "heightGrid".
 
734 4463d 17h werner /trunk/src/ small "fixes" (or tries to fix) as iLand is still crashing...  
733 4465d 12h werner /trunk/src/ trying to find the iland bug??  
732 4496d 14h werner /trunk/src/ initialization of trees with given tree heights. The tree height data (e.g. Lidar data) is loaded from a GIS grid file.
some additional changes with painting different grids.
added also an option to use mapgrids without the 'spatial index' (e.g. for float grids on height grid resolution).
 
707 4581d 14h 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.
 
705 4582d 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.
 
699 4589d 12h werner /trunk/ standloader now can also initialize from vegetation snapshot databases;
fire-module: fire extinction probability works only after reaching the minimum fire size parameter.
 
697 4590d 10h werner /trunk/ Doxygen documentation revisited.
After re-establishing doxygen documentation (last update: 2009) a lot of smaller/medium documentation fixes.
Documentation is something that could definitely be always improved ;)
 
671 4633d 14h werner /trunk/src/ Necessary changes for GPL licence (i.e. headers in all source files)  
639 4794d 11h werner / move current content to the "trunk"  
603 4863d 18h werner /src/ added the target "Map" to functions of the StandLoader; also changed some functions in scriptglobal.cpp (addTreesOnMap).
Interesting: you can easily pass (scripted) object to slots as Pointer - but not so easy as references (for refs you would need to qScriptRegisterMetaType()) - it took me a while find this out...
 
600 4864d 08h werner /src/ corrected grid export (flipping of y-axis)
added initialization of saplings; StandLoader contains now a routine similar to the one for larger trees to distribute saplings; additionally, a script function (Globals.addSaplingsOnStand()) can be used to use this functionality.
 

Show All