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
1204 2887d 04h werner /branches/iland_regen/src/ fixed some text strings (debug messages).  
1203 2904d 02h werner /branches/iland_regen/src/ added the missing "ActPlanting" functions for the "new" regeneration module.  
1164 3089d 23h werner /branches/iland_regen/src/ found unexpected behavior of irandom(): obviously, it return *never* the upper bound.
eg. irandom(0,3) -> values 0,1, or 2, but never 3.
changed calls to irandom() accordingly.
added also a better random selection of species in the establishment routine
 
1163 3090d 04h werner /branches/iland_regen/src/ removed the "sapling.h" everywhere.
open:
* establishment: use better random order of species (e.g. by providing N random lists in speciesSet)
 
1162 3090d 05h werner /branches/iland_regen/src/ removed the old "mSaplings" from resource unit/model.
Open Issues:
* ActPlanting [init/remove of saplings]
* MapGrid: retrieve list of saplings
* testing of standloader
 
1111 3153d 22h werner /branches/iland_regen/src/ first draft of the new "establishment"
added the "Saplings", the new container for establishment/sapling growth
some basic functionality is already there...
 
1104 3162d 05h werner /branches/iland_regen/ Branch dedicated to playing around with establishment/regeneration.
Goals are:
(i) speed up
(ii) introduction of new features for Yellowstone
 
1053 3308d 06h werner /branches/port_qt5_64bit/src/ updates for Qt 5.5 and GCC (Linux).  
1044 3337d 00h werner /branches/port_qt5_64bit/src/ implementing the interaction between bark beetle and wind disturbances;
introduced new flags to mark the reason why trees died when they do die, and a mechanism that allows disturbance modules to being notified when trees die. This involved the creation of a new "DisturbanceInterface".
 
937 3678d 22h werner /branches/port_qt5_64bit/src/ hunting some bugs in summarizing GWL  
936 3679d 23h werner /branches/port_qt5_64bit/src/ searching for bugs in the bookkeeping of increments, volumes.
very cumbersome....
 
915 3782d 22h werner /branches/port_qt5_64bit/src/ developing ABE unit level scheduling, start with dev. of ABE - Outputs.  
914 3784d 20h werner /branches/port_qt5_64bit/src/ finish of the stand split thing
many other tweaks in ABE land.
 
848 3972d 23h werner /branches/port_qt5_64bit/src/ advanced management functions for FUNDIV project
* create shapes (defined by mathematical functions) in stand grids
* filter not only based on boolean, but on continuous functions (0..1, values are seen as probabilities)
 
825 3979d 05h werner /branches/port_qt5_64bit/src/core/ modified API of management. QJSEngine has problems with overloaded slots (kill() and manage() functions in management).  
793 4021d 22h werner /branches/port_qt5_64bit/src/ Move from QScriptEngine to QJSEngine (=V8). Most of the stuff was quite smooth, but there are some open issues.
• Global functions (“print”, “include”, “alert”) are commented out (could be solved by moving functions to the “Globals” object and by creating alias JS-functions, i.e. function alert(x) {Globals.alert(x); } )
• Object creation: “new XXX”, XXX=ClimateConverter, CSVFile, … does not work now
possible solution: factory-pattern (i.e. var csv = Globals.newCSV())
 
779 4146d 00h werner /branches/port_qt5_64bit/  
767 4324d 17h werner /trunk/src/ larger restructuring of code (moving scripting related parts)
adding a shell for "spatialAnalysis".
In the future, a cleanup of all the "spatial" grids/maps/stuff is necessary...
 
753 4385d 00h werner /trunk/src/ minor changes after using CPPCheck source code scan utilty.  
697 4685d 21h 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 ;)
 
674 4728d 21h werner /trunk/src/ added scripting capabilities (JavaScript) to the "Modules". Now a module can add own objects/properties to the global javascript object. The fire module adds a "FireScript" ("Fire" in JS) object that can be used e.g. to manually "ignite" fires.  
671 4729d 01h werner /trunk/src/ Necessary changes for GPL licence (i.e. headers in all source files)  
662 4772d 01h werner /trunk/src/ continued to work on the fire module. Include the fire severity (i.e. mortality due to fire). This had various other impacts, e.g., on the carbon cycle of saplings.  
639 4889d 22h werner / move current content to the "trunk"  
607 4955d 21h werner /src/core/ smaller fixes:
* error when exporting ESRI files
* a new JS function "slashSnags()" for managing standing dead trees
* handling of newly burnt tree when removing carbon due to a fire event
 
604 4959d 05h werner /src/core/ fixed wrong biomass removal fractions (for soil and for management)  
590 4987d 01h werner /src/ added new global scripting functions (e.g. screenshot()). This required some work to do in the combination of MainWindow and the ModelController; removed the static connection (is bad!) and changed to signal / slot connections....  
585 4988d 04h werner /src/ bugfixes in the CSVFile class (with empty cells and whitespace-separators)
bugfixes in GridRunner: was running with an offset of 1 cell.
some other micro-changes.
 
579 4989d 20h werner /src/core/ plenty of new/modified functions in the javascript interface of the management class. e.g. randomize(), mean(), sum(), new kill() and manage() functions.  
575 4990d 03h werner /src/ * renamed toString() from IException to message() (several occurences).
* added a "name" property to the MapGridWrapper
 
566 4997d 06h werner /src/ extended management: modify carbon content of soil / swd pools.
slightly modifications to the CSVFile JS API (value(row, name)-function).
 
565 5000d 19h werner /src/ additional functionality to the management module:
added a way to extract per id within a MapGrid also the area shares per resource unit; this together with a new (not finished) scriptable management function allows for influencing soil carbon pools with means of management (used for HJA fire simulations).
 
564 5000d 22h werner /src/ Improvements of the Management API and functionality.
new functionality:
* killSaplings() -> use a "MapGrid" and remove small trees specifically
* properties defining biomass remove fractions during management

Now the tree list of the management object is cleaned up after a management, i.e. successive managements without reloading the tree list are possible.
 
555 5008d 23h werner /src/core/ solved the problem of passing QObject-derived objects from scripts to slots of other qobject-derived objects.  
552 5009d 04h werner /src/ fixed bug when calculating 're' with the day / dayOfMonth confusion. Changed name of the data field to avoid future problems.  
544 5034d 03h werner /src/ MapGrid rocks! It is quite easy now to write - for instance - a management based on polygon defined by a grid; (see the "test" for this case).  
420 5238d 19h werner /src/core/ removed the QMutex and the QMutexLocker for serializing the execution of expression evaluations. This is no longer necessary, because Expression::calculate() now is reentrant.
The performance effect of this change is awesome: the time used to grow individual trees drops by ca. 40% (the total runtime is maybe 5-10% faster) (tested with iLandSpeed.xml -> 2x2km)
 
389 5266d 17h werner /src/ fixed small glitches with single tree initialization (species name at last position); changes to management routines.  
349 5330d 02h 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.  
346 5341d 03h werner /src/ fixed a bug in Management::kill()