Next: Using LATTICEEASY
Up: LATTICEEASY http://www.science.smith.edu/departments/Physics/fstaff/gfelder/latticeeasy
Previous: Notation and Conventions
The LATTICEEASY Files
LATTICEEASY consists of the following files
- latticeeasy.cpp
- Contains the main() function for
latticeeasy as well as the declarations of global variables (all of
which are declared as extern in latticeeasy.h).
- initialize.cpp
- Contains the function initialize(),
which performs all initialization tasks. These include setting initial
conditions for field fluctuations, setting the derivative of the scale
factor to its initial value, and initializing various run parameters.
- evolution.cpp
- Contains the functions for incrementing the
fields, the field derivatives, and the scale factor and its
derivative. This file also contains the function for calculating the
gradient energy of the fields.
- output.cpp
- Contains all the functions for calculating derived
quantities and saving them to files. These quantities include field
means and variances, the scale factor and its derivatives, components
of energy density, spectra, and histograms. This file also contains a
function for periodically saving an image of the lattice.
- ffteasy.cpp
- Contains code for performing Fourier
transforms. FFTEASY is itself a stand-alone set of routines written by
Gary Felder and available at
http://www.science.smith.edu/departments/Physics/fstaff/gfelder/ffteasy.
- latticeeasy.h
- Contains definitions and declarations used
throughout the program.
- parameters.h
- Contains all the adjustable parameters for doing
runs. These include variables such as grid size and time step, as well
as variables determining what output to save and how often to do it.
- model.h
- Contains the information specific to a particular
model. A library of these files is included in the directory
``models.'' Any one of them can be copied to the program directory and
renamed model.h to run that model.
- makefile
- A makefile for compiling the program. By default it is
set to use g++ but this can easily be modified.
Next: Using LATTICEEASY
Up: LATTICEEASY http://www.science.smith.edu/departments/Physics/fstaff/gfelder/latticeeasy
Previous: Notation and Conventions
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