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
579 4991d 11h 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 4991d 18h werner /src/ * renamed toString() from IException to message() (several occurences).
* added a "name" property to the MapGridWrapper
 
566 4998d 20h werner /src/ extended management: modify carbon content of soil / swd pools.
slightly modifications to the CSVFile JS API (value(row, name)-function).
 
565 5002d 10h 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 5002d 12h 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 5010d 14h werner /src/core/ solved the problem of passing QObject-derived objects from scripts to slots of other qobject-derived objects.  
552 5010d 19h werner /src/ fixed bug when calculating 're' with the day / dayOfMonth confusion. Changed name of the data field to avoid future problems.  
544 5035d 18h 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 5240d 10h 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 5268d 08h werner /src/ fixed small glitches with single tree initialization (species name at last position); changes to management routines.  
349 5331d 17h 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 5342d 18h werner /src/ fixed a bug in Management::kill()  
321 5415d 18h werner /src/ * check for NaN in readLIF_torus() (Tree).
* dump() function in Stamp
* removed compiler warnings
 
295 5454d 02h werner /src/core/ "torus"-mode of light calculations for multiple simulated units. Each RU "wraps" its influence around the edges of the respective resource unit. This works now for more RUs simultaneously.  
294 5456d 01h werner /src/ lots of scripting stuff: new global functions (include, alert)
new methods of the "Globals" javascript object (set, setting, addTrees, ...)
 
278 5461d 01h werner /src/ Management output. Added a statisticsMgmt() for ResourceUnitSpecies. Complicated to get the order right.  
252 5467d 07h werner /src/core/ added another "kill"-function  
250 5467d 11h werner /src/ Management scripting, scripting general.  
247 5470d 05h werner /src/ global script object (ScriptGlobal).
Doxygen documentation refinements.
 
245 5470d 12h werner /src/ CSVFile: changed API and made it available for script access.  

Show All