Rev |
Age |
Author |
Path |
Log message |
Diff |
779 |
4145d 07h |
werner |
/branches/port_qt5_64bit/ |
|
|
777 |
4215d 08h |
werner |
/trunk/src/ |
removed a couple of warnings (partly using Q_UNUSED but also dropping of parameters) |
|
775 |
4216d 06h |
werner |
/trunk/src/core/ |
fixed (wrong) error message |
|
774 |
4217d 07h |
werner |
/trunk/src/ |
some additional error messages (expressions, stand loading) |
|
753 |
4384d 06h |
werner |
/trunk/src/ |
minor changes after using CPPCheck source code scan utilty. |
|
744 |
4546d 02h |
werner |
/trunk/src/ |
minor layout-improvement for the about-dialog
started to toy around with the graphics-stack |
|
743 |
4546d 13h |
werner |
/trunk/ |
new version 0.8.2
includes topo modifier for wind module on 10m grid. |
|
739 |
4554d 09h |
werner |
/trunk/src/core/ |
removed some warnings, added a ASSERT to stamp-selection (problem with
old stamps) |
|
736 |
4558d 09h |
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 |
4558d 11h |
werner |
/trunk/src/ |
small "fixes" (or tries to fix) as iLand is still crashing... |
|
733 |
4560d 06h |
werner |
/trunk/src/ |
trying to find the iland bug?? |
|
732 |
4591d 08h |
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 |
4676d 08h |
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 |
4677d 04h |
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 |
4684d 06h |
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 |
4685d 04h |
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 |
4728d 07h |
werner |
/trunk/src/ |
Necessary changes for GPL licence (i.e. headers in all source files) |
|
639 |
4889d 05h |
werner |
/ |
move current content to the "trunk" |
|
603 |
4958d 12h |
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 |
4959d 01h |
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. |
|
550 |
5009d 10h |
werner |
/src/ |
some fixes with landscape initialization, made some debug messages conditional on various places. |
|
549 |
5009d 11h |
werner |
/src/ |
initialization based on stand grids.
added new functionality for that in StandLoader plus minor changes in Model or MapGrid. |
|
445 |
5205d 13h |
werner |
/src/core/ |
added database species parameters for seed dispersal, fixed a bug with random generator in StandLoader, change maturity criterion for seed production to age instead of height. |
|
444 |
5207d 09h |
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(). |
|
431 |
5235d 01h |
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. |
|
393 |
5263d 12h |
werner |
/src/ |
fixed a bug in StampContainer when loading trees with invalid hd-ratio (too low trees).
fixed a bug that caused a crash when seed dispersal was disabled.
added return values for stand init routines (also those that accessed by scripting) and cleaned up the documentation. |
|
389 |
5266d 00h |
werner |
/src/ |
fixed small glitches with single tree initialization (species name at last position); changes to management routines. |
|
388 |
5266d 02h |
werner |
/src/core/ |
remodified the age calculation. Now the age is estimated based on the current height relative to h_max. The aging-calculation itself is no longer changed by that. |
|
384 |
5266d 11h |
werner |
/src/core/ |
various changes in load of initialization |
|
381 |
5266d 13h |
werner |
/src/core/ |
appropriate handling of tree age during initialization.
if no age is provided in the input file only the tree height is used for the aging calculation. The tree "age" in that case reflects only the number of years since initialization. |
|
319 |
5413d 12h |
werner |
/src/ |
loading of the environment |
|
312 |
5420d 10h |
werner |
/src/core/ |
increased freq. of sorting for low stem numbers |
|
311 |
5420d 10h |
werner |
/src/core/ |
improve loading of tree distributions (density per line) |
|
299 |
5433d 12h |
werner |
/src/ |
fixed bug with disabled debug outputs
added modified LRI to NPP-debug output
new species parameter "probStressYears".
documentation (wiki-links) |
|
294 |
5453d 17h |
werner |
/src/ |
lots of scripting stuff: new global functions (include, alert)
new methods of the "Globals" javascript object (set, setting, addTrees, ...) |
|
290 |
5454d 00h |
werner |
/src/ |
using now the CustomRandomPDF class (from Picus) for the custom probabilty density function used in the standloader. |
|
289 |
5454d 21h |
werner |
/src/ |
random - things: added the Picus random-helper-classes (RandomIndex, CustomRandomPDF, ...).
added a 3rd party Mersenne-Twister-Random-Generator (added a 3rdparty) directory. |
|
288 |
5455d 18h |
werner |
/src/ |
more stand loading |
|
287 |
5455d 20h |
werner |
/src/ |
Tree initialization (random variant). works almost... |
|
285 |
5457d 16h |
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. |
|