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
119 5513d 04h Werner /src/ added HD-range species parameter.  
118 5513d 06h Werner /src/ DBGMODE macro.
Multithreading of main calls in Model. Qt is great!!!
 
117 5513d 22h Werner /src/ new debug macros (which are compiled to NOOP in release mode)  
116 5513d 23h Werner /src/core/ added turnover rates to species  
115 5513d 23h Werner /src/core/ moved 3PG class to RessourceUnitSpecies.  
113 5514d 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)
 
112 5515d 00h Werner /src/core/ added basic calc. for radiation/3pg invokation in RessourceUnit.  
111 5515d 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 5515d 03h Werner /src/ added calculation of LAI  
107 5515d 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 5515d 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 5515d 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()
...
 
93 5517d 00h Werner /src/ XmlHelper class, the first real test-case for that, some thinking about how to setup the whole system.  
90 5517d 07h Werner /src/ changed TreeSpecies -> Species.
added class SpeciesSet.
 
83 5519d 05h Werner /src/ new structure  
80 5519d 05h Werner / change master structure  
78 5527d 18h Werner /fonstudio/ optimization of the "read out" routine (readStampMul())  
77 5527d 18h Werner /fonstudio/ streamlined the application of stamps (now much faster)
changed the internal layout of grids (now the lines are in x-direction)
some fiddling with compiler switches
 
76 5527d 23h Werner /fonstudio/  
75 5527d 23h Werner /fonstudio/ Optimization: removed the abundant "isValid" calls in the Grid-Class
and tried some optimizations in the tree class (applyStamp).
Interestingly, the Grid-modification did not increase performance as expected.
 
74 5528d 00h Werner /fonstudio/ Changed algorithm for dominant height grid.
* "smooth" height values if trees are not in center of 10m height Grid
* the height-value is the maximum value of all the trees in the pixel (thus no part of the crown is above this height)
 
70 5533d 02h Werner /fonstudio/ MainWindow: the "scale to a height" FON-visualization.
Tree: change behavior of reading: now the value of the height grid is considered for every pixel (see also bugfix20090812.xls).
 
62 5561d 02h Werner /fonstudio/ * Tree:heightGrid(): changed calculation scheme for dominant height
* LightRoom: mod of aggregation: now weighing with the local dominant height (consistently with the usage in the FON-studio).
 
61 5561d 03h Werner /fonstudio/ * modified bin-sizes in StampContainer
* cleaned Tree-class (dropped some old code and refs from other places)
 
60 5561d 05h Werner /fonstudio/ application of stamps now considers local height of Z* (see also prev. commit)
in Tree::applyStamp()
 
59 5561d 05h Werner /fonstudio/ changed way of height-grid-calculation: (Tree::heightGrid()):
a tree affects the height grid of more cells (up to the 45° angle).
 
58 5562d 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 5563d 01h Werner /fonstudio/ additive mode, relate impact sum to Z*-crown height.  
52 5563d 02h Werner /fonstudio/ modified to additive again;
* in Lightroom again the average up to the treeheight is summed up
* while extracting stamps, an upper limit of 47x47px (i.e. with 2m grid size approx. 1ha) is used. Now the criterion is based upon absolute values - maybe switch to relative values again (to avoid huge stamps)??
 
51 5563d 05h Werner /fonstudio/ changed application/stamp production to a multiplicative approach, disengaged the height field.  
48 5566d 00h Werner /fonstudio/ grid: bugfix
mainwindow: added different visualizations
tree: adopted to new scheme: dominance height split in "above Z*" and "below Z*"
 
47 5566d 02h Werner /fonstudio/ now to each "writer" stamp a reader stamp (i.e. the "crownradius") is directly attached. Therefore some changes in tree and treespecies.  
45 5566d 04h Werner /fonstudio/ apply stamps at domiance grid  
42 5566d 05h Werner /fonstudio/ additionally storing crown radius in stamp file.
readout of stamps using radius-stamps.
 
40 5566d 23h Werner /fonstudio/ reading out of stamp values.
lots of additional small changes.
 
39 5567d 23h Werner /fonstudio/ implementing the application of gridded binary stamps.  
38 5568d 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.
 
32 5570d 07h Werner /fonstudio/ grid: average() function, more const access operators.
LightRoom: mod. mode of setup (now setup with metric length instead of pixelcount),
fixed "addition of angles" bug.
added generation of "subpixel" stamps.
 
30 5573d 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 5576d 05h Werner /fonstudio/