Next: Compilation
Up: Installation
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.
- MXY
- in include/bbcom.h. For the mesh of beam-beam force.
Upto MXYMXY bins.
48MXY = 0.75MB (MXY=128)
- MMX,MMY
- in bb/bbfpack/bbpkcm.inc.
Also for beam-beam force.
Upto MMXMMY bins.
40MMXMMY = 0.62MB
(MMX=MMY=128)
It is better to set MXY=MMX=MMY.
- MMM
- in include/lumcom.h. For the mesh of luminosity.
Upto bins.
152 = 2.4MB
(MMM=7)
- MWLUM
- in include/lumcom.h. Store differential luminosity.
8MWLUM = 0.8MB (MWLUM=100000).
- MP
- 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)
- MVPH
- in include/beamcm.h. Maximum number of virtual photons
in a time step in an s-slice.
80MVPH = 4.0MB (MVPH=MP/2)
- MTSTP
- 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
(MTSTP=5000).
The sum is about 30MB. The size of the load module is about 0.8MB.
Toshiaki Tauchi
Thu Dec 3 17:27:26 JST 1998