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
158 5500d 05h werner /src/core/ code cleanup/refactoring on Tree.  
157 5500d 23h werner /src/ cleaning of memory after trees died; this had some impacts on AllTreeIterator and some other places.
added a "Tests" class to combine some simple tests.
 
156 5501d 04h werner /src/core/ removed QPointF position in Tree (now only the index on the grid is stored). This saves 8 Bytes (2x double, now 2x int), and should be slightly faster.  
155 5501d 05h werner /src/ wraparound of trees around an one hectare patch. Edges are glued together. This is done by doubling code for applyStamp, readStamp and heightGrid in Tree.
improved "clicking" on trees in MainWindow.
 
151 5502d 05h iland /src/ - now calculating the area per RU which is stocked.
to achieve that, changes were made to:
- heightGrid() in Tree
- RessourceUnit: new member variables
- Model: function to iterate over RUs and calculate actual values.
- added functions for binary (QByteArray) loading/saving to file in
Helper

GUI: saveState/restoreState in MainWindow - used for dockwindows.
 
149 5502d 22h werner /src/ - drawing GUI in MainWindow
- "Opacity" of tree crowns as a function of leafarea (and crown area;
crown radius is stored in LIP-stamp).
 
148 5502d 23h iland /src/ - distribution of radiation
- painting trees with results of formulae
 
145 5503d 04h Werner /src/ Run and compiled iLand on Linux (Kubuntu) with a virtual machine. The gcc on Linux issues lots of warnings which I fixed on the Linux side. Also fixed TTickTack (the clock issue).
Now iLand also runs on Linux - nice!
 
144 5503d 22h Werner /src/ prettier Tree-dump-list, more debugging in partition - there is a problem with big trees....  
143 5503d 23h Werner /src/ - StampContainer: find stamps out of HD bounds.
- AllTreeIterator fixed bug in next()
- improvements in Expression (function inlining, ...)
- use tree with expression, together with Stats-class.
... and much more ;)
 
141 5504d 06h Werner /src/ documentation ExpressionWrapper, code cleanup  
139 5504d 16h Werner /src/ added debugTimer for simulation of N years.  
137 5504d 19h Werner /src/ rework of the growing process, also debugging outputs etc.  
136 5504d 23h Werner /src/ rework of the partition model. changed species parameter and partition routine, also some work on debug outputs.
added the "year" of the simulation now th globalsettings.
 
135 5505d 05h Werner /src/ added keyboard support for scrolling in PaintArea, some issues with startup/init the model, modfied growth-routine.  
129 5506d 01h Werner /src/ MainWindow GUI (uses Qt Actions) to start/stop/create the "model", GUI to retrieve debug data.  
125 5508d 01h Werner /src/ growth of individual trees  
119 5511d 04h Werner /src/ added HD-range species parameter.  
117 5511d 22h Werner /src/ new debug macros (which are compiled to NOOP in release mode)  
116 5511d 23h Werner /src/core/ added turnover rates to species  
115 5511d 23h Werner /src/core/ moved 3PG class to RessourceUnitSpecies.  
113 5512d 02h Werner /src/ started Production3PG-class which couples the (stand-level) production.
implemented zooming and panning in Viewport (this is always a hell of a job)
 
111 5513d 01h Werner /src/ added "RessourceUnitSpecies" (included setup and access functions). Each species has now a numeric index which is used to construct vectors of RessourceUnitSpecies per RessourceUnit.  
110 5513d 03h Werner /src/ added calculation of LAI  
107 5513d 17h Werner /src/ created "AllTreeIterator" as a convenient means to traverse all trees in the model, adapted the painting of trees in MainWindow to the many RessourceUnits.  
106 5513d 19h Werner /src/ added StandLoader class which encapsulates the initialization of stands. Currently only Picus-style initfiles can be loaded.
added more content to Model and cleaned the Tree class. Now a multiple stand setup with N ressource units and N duplicate stands can be loaded and the light-patterns calculated. cool!
 
105 5513d 21h Werner /src/ several changes:
create multiple RessourceUnits as a grid
modified include-order for model.h and mainwindow.cpp
added clear() to Grid.
fixed bug in Grid::indexOf()
...
 
90 5515d 07h Werner /src/ changed TreeSpecies -> Species.
added class SpeciesSet.
 
83 5517d 05h Werner /src/ new structure  
80 5517d 05h Werner / change master structure  
61 5559d 03h Werner /fonstudio/ * modified bin-sizes in StampContainer
* cleaned Tree-class (dropped some old code and refs from other places)
 
58 5560d 01h Werner /fonstudio/ working version of light alogorithnm:
* steps during read:
own_xy = 1 - writer_xy * la_factor / h_dom
value_xy = grid_xy / own_xy
lightvalue = sum( value_xy * reader_xy) [ sum(reader) = 1 ]

additional correction for overstorey:
if h > h_dom:
lightvalue = 1 - (1 - lightvalue) * h/h_dom

other issues:
* added buffer around sim. area
* cleaned xml-file and code to interpret
* fixed Viewport (handling of negative coordinates - see buffer)
* fixed StampContainer, added finalizeSetup() - (filling up of the lookup map)
 
53 5561d 01h Werner /fonstudio/ additive mode, relate impact sum to Z*-crown height.  
48 5564d 00h Werner /fonstudio/ grid: bugfix
mainwindow: added different visualizations
tree: adopted to new scheme: dominance height split in "above Z*" and "below Z*"
 
45 5564d 04h Werner /fonstudio/ apply stamps at domiance grid  
40 5564d 23h Werner /fonstudio/ reading out of stamp values.
lots of additional small changes.
 
39 5565d 23h Werner /fonstudio/ implementing the application of gridded binary stamps.  
38 5566d 00h Werner /fonstudio/ LightRoom: use sum instead of average
Use of Lightroom in mainwindow: cut parts of lightroom result based on values and save as binary stamp file.
create class TreeSpecies, start to impl. use of stamps in Tree.
 
30 5571d 05h Werner /fonstudio/ change "stamp" to "imagestamp", added a new "stamp" which should be more like the real, efficient stamp used in iLand.
started impl. of lightroom - batch modus.
 
16 5574d 05h Werner /fonstudio/