Previous: System Dependent Subroutines
A compressed array method has been used in ABEL but this was given up
in CAIN, because it makes inter-lab collaboration in programming very hard.
In CAIN, dimensions of large arrays are given by parameter statements.
Major ones are the following. The given numbers are those in the
present version. You can change them and re-compile all the files.
The sum is about 30MB. The size of the load module is about 0.8MB.
- in include/bbcom.h. For the mesh of beam-beam force.
Upto MXYMXY bins.
48MXY = 0.75MB (MXY=128)
- in bb/bbfpack/bbpkcm.inc.
Also for beam-beam force.
Upto MMXMMY bins.
40MMXMMY = 0.62MB
It is better to set MXY=MMX=MMY.
- in include/lumcom.h. For the mesh of luminosity.
152 = 2.4MB
- in include/lumcom.h. Store differential luminosity.
8MWLUM = 0.8MB (MWLUM=100000).
- in include/beamcm.h. Maximum number of macro particles,
including photons, electrons, positrons,
test particles, right-going and left-going.
(Actual maximum number is 90% of MP because
10% is reserved for newly created particles in
one time step.)
192MP = 19.2MB (MP=100000)
- in include/beamcm.h. Maximum number of virtual photons
in a time step in an s-slice.
80MVPH = 4.0MB (MVPH=MP/2)
- in include/tstpcm.h. Store the history of test
particles. MTSTP is the maximum number of the
number of time steps times the number of test particles.
100MTSTP = 0.5MB
Thu Dec 3 17:27:26 JST 1998