INFN homepage
FLUKA: USRGCALL Previous Index Next

USRGCALL


    Calls user dependent global initialisation.

    See also USRICALL, USROCALL

    The 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.
Notes:
1) In subroutine USRGLO, WHAT and
SDUM
must be declared as follows: DOUBLE PRECISION WHAT (6) CHARACTER
SDUM
*8 2) A description of routine USRGLO and instructions about its use are given in Chap. 13} 3) It is suggested that the USRGLO routine shall contain at least the three standard INCLUDE files: DBLPRC, DIMPAR, IOUNIT 4) Other useful files to be INCLUDEd, depending on the problem, can be BEAMCM, CASLIM, SOURCM, SUMCOU, FLKMAT, PAPROP, SCOHLP, USRBDX, USRBIN, USRSNC, USRTRC, USRYLD}. See Chap. 13} for more information on INCLUDE files 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 6 numerical values and a string

Previous Index Next