The main.tcl file

The main.tcl file provided in the examples directory is a relatively complete script written using mbtools. It is designed to run all of the examples provided but no more. No doubt you will need to extend it for your own purposes.

Variables used by main.tcl

main.tcl expects the user to set various parameters in a parameters.tcl file (eg simplebilayer.tcl). Some of these parameters have defaults and generally don't need to be worried about except for specific cases. In the following list variables that have no default and therefore must be set in the parameter file are noted with an asterisk.