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
664 4686d 23h werner /trunk/src/ fixes in the fire module  
639 4805d 22h werner / move current content to the "trunk"  
615 4865d 01h werner /src/ removed windows specific _isnan() calls  
608 4871d 07h werner /src/ adding carbon cycle output (and some necessary book keeping code)  
595 4889d 06h werner /src/core/ changed behavior of coarse roots: if biomass exceeds value from allometric relation, the excell biomass is pushed to the soil (avoid piling up of coarse root carbon in the soil)
inlined some biomass functions in species.h.
 
588 4903d 04h werner /src/core/ added carbon-bookkeeping in the regeneration layer.  
579 4905d 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.  
564 4916d 21h 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.
 
521 4966d 02h werner /src/ moved snag dynamics from rus-level to ru-level  
513 4987d 01h werner /src/core/ fixed a nasty bug: if one tree species succeeded to establish on a formerly empty RU, the saplings of other species were killed (well, not directly, but the environment was not recalculated leading to a f_env value of 0).  
505 4995d 20h werner /src/core/ fix crash small stamps for Acma.  
497 5013d 01h werner /src/ tried some possibilities to eliminate "strange" crashes when simulating very for a long time. Ended up with adding additional "pause" between every 50 year or so (see modelcontroller.cpp); this helps at least a little.
also updated the expression-linearization
 
488 5015d 17h werner / new version including several bug fixes and improvements for the regeneration / sapling growth submodule, as well as some performance optimizations.  
486 5015d 22h werner /src/ Expression: extended linearization range to the upper limit (it is a
typical use to linearize e.g. from 0..1 -> 1 should be included)
removed some warnings that came up when compiling in linux
added a setlocale()-function in main(). This was because otherwise the
"atof"-call when parsing Expressions cut off the fraction part (i.e.
converted "0.285" to "0") (used in Linux german locale)
 
482 5016d 04h werner /src/core/ fixed bug that recruited trees modified the average aging calculation; added some diagnostic code here and there.  
476 5017d 02h werner /src/ added snag debug output to the gui
corrected calculation of branch biomass in Tree
 
470 5021d 06h werner /src/core/ add light response function to sapling growth (rest: constness of lightresponse function calls)  
468 5022d 01h werner /src/ starting the implementation of the snag dynamics submodule.
New class: Snag
added Snag to ResourceUnitSpecies
added links to Snag in Tree
 
465 5022d 07h werner /src/core/ fixed bug in TACA model calculating fEnvYr.  
463 5022d 18h werner /src/core/ To handle errors in diameter estimation for small trees, an iterative algorithm is used if the "final residual" (between NPP based stem biomass increment and realized stem increment) is > 1kg.  
460 5022d 22h werner /src/ changed label in regeneration debug output,
added minimum height of 4m as requirement for seed production.
 
445 5122d 06h 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 5124d 02h 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().  
428 5153d 03h werner /src/ added linearization for some expressions (e.g. light response), and a global switch to enabled/disable the linerization using one static boolean (triggered by a iland setting)  
426 5154d 03h werner /src/core/ added the LRImodifier key, which is used to scale down the LRI of small trees that are below very high trees.  
410 5155d 18h werner / height grid: removed 5m from neighboring height grid pixels
new version of fonstudio (log output again to log window)
 
407 5156d 04h werner /src/ modified the painting of trees (use now the crown radius)
tried to fix the database lock error when reloading the model (not solved: but: no problem when model was executed for at least one year...)
 
406 5156d 07h werner /src/core/ set ground height of height grid to 4m (model.cpp)
modified height-grid-apply (non-torus) so that height-grid pixels get max()-ed if the reader stamp reaches into the neighbor pixels (i.e. the crown reaches the neighbor 10m pixel)
 
403 5158d 23h werner /src/ Tree::applyLIP(): fixed bug with the indices
applyLIP/readLIF: changed way of applying/reading LIPs. Version where hdom is only set at the focal height pixel.
model.h/model.cpp: tried a version with a init-value for height of height grid
 
401 5161d 18h werner / starting from a change in the LIP-pattern and the LIP-application a grand tour through followed.
StampContainer has now a static grid that holds distances to the stamp-center. This is used by the tree when applying a stamp.cpp
minor changes necessary due to the switch to Qt 4.6
 
399 5162d 07h werner /src/core/ cleanup at applyLIP() in tree.cpp  
397 5177d 07h werner /src/core/ thanks to ruperts sharp eyes we found a bug in the torus implementation of readLIF_torus(). Basically, the wrong pixels were evaluated. This became apparent in the HJA with very structured stands.
Another possible flaw (not sure whether this actually caused errors) was found in the attachment of reader stamps.
 
393 5180d 05h 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 5182d 17h werner /src/ fixed small glitches with single tree initialization (species name at last position); changes to management routines.  
388 5182d 18h 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.  
387 5182d 19h werner /src/ integrating seed dispersal into the model
moved global constants for grid sizes into globalsettings.h
 
381 5183d 06h 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.
 
376 5192d 04h werner /src/ calculation of an average value for aging at resource unit level.
added variable 'aging' for resource units.
changed comments.
 
326 5330d 01h werner /src/core/ corrected LRI for HD-calculation (tracker#11)  
321 5330d 03h werner /src/ * check for NaN in readLIF_torus() (Tree).
* dump() function in Stamp
* removed compiler warnings