next up previous
Next: Compiling Up: Using LATTICEEASY Previous: Using LATTICEEASY

Running the Program With an Existing Model

To set the program up to run with a particular model you copy the header file for that model to the directory with the other source files and name it model.h. Near the top of each model file there is a commented out list of adjustable parameters for that model. You could just uncomment these and run the model like that, but we find it is easier to have all the adjustable parameters in one place, i.e. the file parameters.h, so we recommend leaving these lines commented out in model.h and copying them (uncommented) to parameters.h. There is a spot in parameters.h marked for this purpose.

In order to do a run with LATTICEEASY you set the parameters in the file parameters.h, compile the program, and run it. This sounds simple until you realize that there are over forty parameters to be set, not including parameters specific to the particular model you are running. Relax, though, most of these are very straightforward. In fact most of these adjustable parameters simply tell the program what kinds of output you want it to create.

We describe how to run the program in the following sections. Section 4.1.1 talks about compiling the program. Section 4.1.2 discusses running the program, and in particular discusses how to continue previous runs to later times. Section 4.1.3 describes all the parameters in parameters.h. Section 4.1.4 has suggestions on choosing reasonable values for quantities like the grid size and the time step. Finally, section 4.1.5 explains how to do runs with double precision real numbers.



Subsections
next up previous
Next: Compiling Up: Using LATTICEEASY Previous: Using LATTICEEASY

Go to The LATTICEEASY Home Page
Go to Gary Felder's Home Page
Send email to Gary Felder at gfelder@email.smith.edu
Send email to Igor Tkachev at Igor.Tkachev@cern.ch

This documentation was generated on 2008-01-21