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
639 4896d 04h werner / move current content to the "trunk"  
615 4955d 08h werner /src/ removed windows specific _isnan() calls  
608 4961d 13h werner /src/ adding carbon cycle output (and some necessary book keeping code)  
595 4979d 13h 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 4993d 11h werner /src/core/ added carbon-bookkeeping in the regeneration layer.  
579 4996d 02h 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 5007d 04h 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 5056d 08h werner /src/ moved snag dynamics from rus-level to ru-level  
513 5077d 07h 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 5086d 02h werner /src/core/ fix crash small stamps for Acma.  
497 5103d 08h 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 5105d 23h werner / new version including several bug fixes and improvements for the regeneration / sapling growth submodule, as well as some performance optimizations.  
486 5106d 04h 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 5106d 10h werner /src/core/ fixed bug that recruited trees modified the average aging calculation; added some diagnostic code here and there.  
476 5107d 08h werner /src/ added snag debug output to the gui
corrected calculation of branch biomass in Tree
 
470 5111d 13h werner /src/core/ add light response function to sapling growth (rest: constness of lightresponse function calls)  
468 5112d 07h werner /src/ starting the implementation of the snag dynamics submodule.
New class: Snag
added Snag to ResourceUnitSpecies
added links to Snag in Tree
 
465 5112d 14h werner /src/core/ fixed bug in TACA model calculating fEnvYr.  
463 5113d 01h 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 5113d 04h werner /src/ changed label in regeneration debug output,
added minimum height of 4m as requirement for seed production.
 
445 5212d 12h 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 5214d 08h 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 5243d 09h 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 5244d 10h 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 5246d 01h werner / height grid: removed 5m from neighboring height grid pixels
new version of fonstudio (log output again to log window)
 
407 5246d 10h 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 5246d 14h 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 5249d 05h 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 5252d 01h 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 5252d 14h werner /src/core/ cleanup at applyLIP() in tree.cpp  
397 5267d 13h 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 5270d 11h 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 5272d 23h werner /src/ fixed small glitches with single tree initialization (species name at last position); changes to management routines.  
388 5273d 01h 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 5273d 01h werner /src/ integrating seed dispersal into the model
moved global constants for grid sizes into globalsettings.h
 
381 5273d 12h 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 5282d 11h werner /src/ calculation of an average value for aging at resource unit level.
added variable 'aging' for resource units.
changed comments.
 
326 5420d 07h werner /src/core/ corrected LRI for HD-calculation (tracker#11)  
321 5420d 09h werner /src/ * check for NaN in readLIF_torus() (Tree).
* dump() function in Stamp
* removed compiler warnings
 
308 5428d 10h werner /src/ changed stress mortality (tracker#4)