Overview of the programs

Previous: Numerical Theory Up: List of Figures Next: Details of the simulation program

Overview of the programs

The simulation is contained in a single program: fluxTubeModel; several support programs and routines were also written. All are written in C++ (an object oriented dialect of C), and were compiled on a Sun Sparc CPU running SunOS 4.1.3. The GNU C/C++ (GCC) compiler was used, and extensive use of the GNU C++ (G++) library was made. GCC was version 2.4.5.

a program to take a data file and animate the movements of the quarks in a graphics window. This program uses the back end program from the gnuplot utility to do the actual drawing. It functions, but is not very efficient.

An option makes the program advance through the data with short delays between data sets. This provides a way to animate the motions. Manual control is also possible.

The view3D was the primary qualitative analysis tool.

a program to take a data file and extract one component of each particle ( or ) into a text file. This program is meant for generating files suitable for trivial plots.

a program that reads through a data file, and calculates the kinetic and potential energy at each step. The results can be placed in an ASCII file suitable for plotting, or in a special adjunct file. view3D recognizes this file, and will display the totals for each frame as it plots.

Additionally, several programs were expected to exist, but were never written because the need had not yet arisen.

a program to produce random initial conditions with non-zero velocities. The velocity distribution was to follow a Maxwell distribution. The random initial distribution function is currently included in the main simulation program, but that version always starts with zero velocities, and is not flexible enough for general use. By taking the initial conditions from a file, it becomes easier to repeat a simulation with slightly different initial conditions.

a program to take a data file and create a histogram of distances between all quarks for each data set. Output would be in a format suitable for further processing (calculation of means, medians, and plotting).