USRGCALL¶
Summary
Calls user-dependent global initialisation.
See also
USRICALL, USROCALLThe meaning of WHAT(1) …WHAT(6), SDUM is defined by the user.
A call to the user-written routine
USRGLO with 6 WHAT numerical values and one character string SDUM as arguments is issued before any other FLUKA initialisation if this command is found anywhere in input.- Default
(option
USRGCALLnot given): no user global initialisation
Notes
In subroutine
USRGLO,WHATandSDUMmust be declared as follows:DOUBLE PRECISION WHAT (6) CHARACTER SDUM*8
A description of routine
USRGLOand instructions about its use are given in USRGLO: USeR GLObal settings.- It is suggested that the
USRGLOroutine shall contain at least the three standardINCLUDEfiles:DBLPRC, DIMPAR, IOUNITOther useful files to be
INCLUDEd, depending on the problem, can beBEAMCM, CASLIM, SOURCM, SUMCOU, FLKMAT, PAPROP, SCOHLP, USRBDX, USRBIN, USRSNC, USRTRC, USRYLD. See INCLUDE files for more information onINCLUDEfiles useful in user routines.
Example:
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7...+...8
USRGCALL 789. 321. 18.0 144.0 -27.0 3.14 SPECIAL
* Call global initialisation routine passing over 6 numerical values and a string