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
125 5508d 07h Werner /src/ growth of individual trees  
123 5510d 00h Werner /src/ ThreadRunner class. This hopefully is a good foundation for all the multithreading issues...  
121 5511d 05h Werner /src/ reworked exception handling in Expression.
found finally out, that bug was due to a sync-problem with multiple threads, with "Parse" being done "late" during the multi-threaded execution.
nasty.
Added a switch in project-file to enable/disable multithreading.
 
119 5511d 09h Werner /src/ added HD-range species parameter.  
118 5511d 11h Werner /src/ DBGMODE macro.
Multithreading of main calls in Model. Qt is great!!!
 
117 5512d 03h Werner /src/ new debug macros (which are compiled to NOOP in release mode)  
116 5512d 04h Werner /src/core/ added turnover rates to species  
115 5512d 05h Werner /src/core/ moved 3PG class to RessourceUnitSpecies.  
113 5512d 07h 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 5513d 05h Werner /src/core/ added basic calc. for radiation/3pg invokation in RessourceUnit.  
111 5513d 07h 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 09h Werner /src/ added calculation of LAI  
107 5513d 23h 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 5514d 00h 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 5514d 02h 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 5515d 06h Werner /src/ XmlHelper class, the first real test-case for that, some thinking about how to setup the whole system.  
90 5515d 12h Werner /src/ changed TreeSpecies -> Species.
added class SpeciesSet.
 
83 5517d 10h Werner /src/ new structure  
80 5517d 10h Werner / change master structure  
78 5525d 23h Werner /fonstudio/ optimization of the "read out" routine (readStampMul())  
77 5526d 00h 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 5526d 04h Werner /fonstudio/  
75 5526d 04h 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 5526d 05h 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 5531d 07h 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 5559d 07h 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 5559d 08h Werner /fonstudio/ * modified bin-sizes in StampContainer
* cleaned Tree-class (dropped some old code and refs from other places)
 
60 5559d 10h Werner /fonstudio/ application of stamps now considers local height of Z* (see also prev. commit)
in Tree::applyStamp()
 
59 5559d 11h 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 5560d 06h 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 07h Werner /fonstudio/ additive mode, relate impact sum to Z*-crown height.  
52 5561d 07h 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 5561d 10h Werner /fonstudio/ changed application/stamp production to a multiplicative approach, disengaged the height field.  
48 5564d 06h Werner /fonstudio/ grid: bugfix
mainwindow: added different visualizations
tree: adopted to new scheme: dominance height split in "above Z*" and "below Z*"
 
47 5564d 07h 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 5564d 09h Werner /fonstudio/ apply stamps at domiance grid  
42 5564d 10h Werner /fonstudio/ additionally storing crown radius in stamp file.
readout of stamps using radius-stamps.
 
40 5565d 04h Werner /fonstudio/ reading out of stamp values.
lots of additional small changes.
 
39 5566d 05h Werner /fonstudio/ implementing the application of gridded binary stamps.  
38 5566d 06h 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.