Download Appendix B EGS5 USER MANUAL

Transcript
Table B.1: Variable descriptions for COMMON block BOUNDS, include file egs5 bounds.f of the EGS5
distribution.
ECUT
Array of region-dependent charged particle cutoff energies in MeV.
PCUT
Array of region-dependent photon cutoff energies in MeV.
VACDST Distance to transport in vacuum (default=1.E8).
In addition to MAIN, HOWFAR, and AUSGAB, additional subprograms may be included in the user
code to facilitate the geometry computations of HOWFAR, among other things. (Sample “auxiliary”
subroutines useful in performing distance-to-boundary computations and in moving particles across
regions in a variety of common geometries are provided with the EGS5 distribution.)
The interaction between the user code and the EGS5 modules is best illustrated in Figure B.1.
In summary, the user controls an EGS5 simulation by means of:
PEGS5
HATCH
SHOWER
HOWFAR
AUSGAB
parameters
variables
Calls to subroutines:
to create media data
to establish media data
to initiate the cascade
Calls from EGS to user subroutines:
to specify the geometry
to score and output the results
Altering elements of COMMON blocks:
inside EGS5 source code, to set array dimensions
inside user code, to specify problem data
The following sections discuss the above mechanisms in greater detail.
B.3
Variables in EGS5 COMMON Blocks
Listed in Tables B.1 through B.17 are the variables in EGS5 COMMON blocks which may be relevant
to the user, along with a brief description of their functions. Methods for manipulating these
variables to either control EGS5 shower simulations or to retrieve results will be discussed in
subsequent sections. Note that an asterisk (*) after a variable name in any of the tables indicates
a change from the orginal EGS4 default.
3