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
818 3992d 15h werner /branches/port_qt5_64bit/src/ new tree variable (crownarea)
transparent color in gui, filtering of trees in gui
 
816 3993d 11h werner /branches/port_qt5_64bit/ merge from iLand trunk (e.g. the new in() function for expressions)

now first (+-) working version of the bridging of Javascript and C++ world.
 
813 3993d 14h werner /branches/port_qt5_64bit/src/ continuing with the forest management engine.
* added a script-binding for site/stand/simulation objects
* more variables in the stand/unit objects
 
811 3998d 12h werner /branches/port_qt5_64bit/src/ working on the Forest Management Engine.
* new classes that represent Agent, AgentType, FMUnit, FMStand, ...
* +- working evaluation of expressions (activities) in the context of stand/site/... variables.
 
810 3999d 16h werner /branches/port_qt5_64bit/src/ implementing activity/javascript link  
808 4000d 12h werner /branches/port_qt5_64bit/src/ implementing FOME.
* splitting "helper.cpp" into several files (debugtimer.h, statdata.h, viewport.h) (and changing lots of includes)
* implementing setup of activities (extracting from Javascript)
 
807 4000d 15h werner /branches/port_qt5_64bit/src/ started implementation of the Forest Management Engine.  
803 4019d 21h werner /branches/port_qt5_64bit/src/ testing the neighborsOf function of MapGrid
added a Factory function for creating of "Map" objects
 
802 4019d 22h werner /branches/port_qt5_64bit/ merge from trunk up to revision 801  
798 4021d 16h werner /branches/port_qt5_64bit/ some comments, maximum number of years of simulations changed to 10000  
794 4027d 17h werner /branches/port_qt5_64bit/src/ Some further tests with the QJSEngine - some of the shortcomings are "fixed".
* single functions (like "print"): they are now parts of the Globals-Object, and a wrapper-function is created.
* object creation: "new"-keyword: a "Factory" was added to create new objects (e.g. CSVFile, ClimateConverter)
* exceptions: are not supported; this is still a problem. Now only a message is written to the log.
 
793 4028d 15h werner /branches/port_qt5_64bit/src/ Move from QScriptEngine to QJSEngine (=V8). Most of the stuff was quite smooth, but there are some open issues.
• Global functions (“print”, “include”, “alert”) are commented out (could be solved by moving functions to the “Globals” object and by creating alias JS-functions, i.e. function alert(x) {Globals.alert(x); } )
• Object creation: “new XXX”, XXX=ClimateConverter, CSVFile, … does not work now
possible solution: factory-pattern (i.e. var csv = Globals.newCSV())
 
781 4139d 15h werner /branches/port_qt5_64bit/src/ tried to compile also for MSVC 2010 32bit  
780 4139d 17h werner /branches/port_qt5_64bit/src/ Steps to build iLand with Qt 5 and with MSVC compiler and 64 bit.
http://iland.boku.ac.at/blogpost44

removed also a couple of warnings that were thrown by the MSVC compiler.
 
779 4152d 16h werner /branches/port_qt5_64bit/  
777 4222d 17h werner /trunk/src/ removed a couple of warnings (partly using Q_UNUSED but also dropping of parameters)  
776 4223d 14h werner /trunk/src/ updated logic for starting/stopping the model (there actually was an error with infinite calling depth)  
773 4245d 21h werner /trunk/ fresh compile (Qt 4.8.3), removed debug symbols from executables, included recompiled fonstudio.  
770 4282d 21h werner /trunk/src/ fixed a bug with deadwood decay: (see analysis/extseeds/analyse_total_carbon20130113.docx). For a RU without vegetation (trees/saplings) the water cycle was not calculated -> therefore no values for evapotranspiration were available -> the climate factors for the deadwood decay were only driven by temperature (not by humidity) -> only a very slow decay until a RU got populated. Ouch.
now the water cycle is calculated for every resource unit with non-empty snags (either flux or state non-zero)
 
769 4282d 23h werner /trunk/src/ v 0.84
helper.cpp: added QMutex to handle possible crash when adding timers to the timers list
modules: added a catch() around the execution of modules (this should fix crashes due to unhandled exceptions)
 

Show All