next up previous
Next: Running the Program With Up: LATTICEEASY http://www.science.smith.edu/departments/Physics/fstaff/gfelder/latticeeasy Previous: The LATTICEEASY Files


Using LATTICEEASY

The basic structure of the program is as follows: There is a file called model.h that contains all the information specific to a particular model. For example, the model file that we include by default with the LATTICEEASY distribution encodes a model with two scalar fields $\phi$ and $\chi$ with the potential

\begin{displaymath}
V = {1 \over 4} \lambda \phi^4 + {1 \over 2} g^2 \phi^2
\chi^2. \qquad\mbox{(TWOFLDLAMBDA model)}
\end{displaymath} (4.1)

To create a new model for the program to run you need to create a new model file. We explain below how to do this.

To run the program you will need to set the parameters for your run (grid size, time step, etc.), compile the program, and run. All of the adjustable parameters are in the file parameters.h. So the only two files that you as a user should ever need to modify are model.h and parameters.h. Of course you are free to examine the rest of the program and make any modifications to it you wish, as long as you leave the credits paragraph at the beginning of latticeeasy.cpp intact. The program is heavily commented so it should be possible for anyone with a good amount of programming experience to understand what the different parts are doing.

The following sections describe in turn how to run the program for a particular model and how to incorporate new models into the program.



Subsections
next up previous
Next: Running the Program With Up: LATTICEEASY http://www.science.smith.edu/departments/Physics/fstaff/gfelder/latticeeasy Previous: The LATTICEEASY Files

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