Branching Growth Model Simulation - HowTo



Compiling:

First, download the source code: source.tar to some directory. In this directory extract the files using:

tar -xvf source.tar

Then compile the project using the following command:

g++ *.cpp -L/usr/X11R6/lib -lX11 -o Simulation.ex

I have tested the program on: phelafel (RedHat linux v7.2) and on my home computer (Mandrake linux v8.1), if you want to run it on a similar system you can use the file you downloaded. The compiler will make an executable file on the same directory, to run it, just type "./Simulation.ex"

Using the program:

When running the simulation you will see something like in fig.1.

fig. 1


Notice that on the frame titled "Controls" there's a message "Not initialized!". Before running the simulation you have to press the "Reset" button on the same frame. If you pressed it you can run the simulation by pressing the "Go!" button. If you want to learn more about the other controls read on...

There are three frames on the main window:

Simulation Parameters

Those are general parameters of the simulation

The change in these parameters will take effect only after pressing the "Reset" button in the Controls frame.


Initial Conditions

The changes here only apply to the beginning of the simulation, thus will take effect only after pressing the "Reset" button.


Controls

In this frame there are the controls of the simulation.


Display

After pressing the "Reset" button, the "Display" frame will appear. In this frame you can see the outputs of the simulation.

fig. 2


Back to TOC