Appendices
A -- User's Manual
The running of the simulation is fairly straightforward. Once the simulation is designed using the MOOSE modeler, it is translated into C++ code by the MOOSE translator program. The translation process creates an executable file engine. The executable is ran in the following way to pipe the output to a text file engine.out:
prompt% engine go > engine.out
Once an output file is created, the Tk/Tcl graphical display program can be run. It is run by starting the wish application. Once the following is entered:
prompt% wish
a wish prompt is created. At the wish prompt, the Tk/Tcl application is run by typing the following:
wishprompt% source moth.tcl
The user is then prompted to select an input file, and then the simulation data is output in graphical form.
B -- Program Listing
The following is a listing of files pertaining to the moth environment simulation. The files can be found in the following directory on the University of Florida CISE computer system.
directory: /cis/research/simulation/moose/prj/moths
file/description
cell_init.cod code method to initialize cell values
moth.cod moth constructor moth.tcl Tk/Tcl graphical display application plant.cod plant constructor project.hdf hierarchy definition file for simulation project.prj project file for simulation weather.cod weather constructor xeq_environment.cod code method that drives entire simulation xeq_moth.cod code method to control aspects of moths in each cell xeq_plant.cod code method to simulate plant growth xeq_rain.cod code method to simulate rainfall xeq_temp.cod code method to simulate temperature xeq_wind.cod code method to simulate wind direction and speed engine.out output file
C -- Acknowledgments
Special Thanks to: