INFN homepage
FLUKA: 13.2.9} musrbr.f lusrbl.f fusrbv.f user-defined quantities for special binnings Previous Index Next

13.2.9} musrbr.f lusrbl.f fusrbv.f user-defined quantities for special binnings

 -------------------------------------------------------------------------------

 These three functions are used to define 3-dimensional fluence distributions to
 be calculated by special user-defined binnings (see USRBIN with 
WHAT(1)
= 8.0 or 18.0 in the first card).
* MUSRBR defines a discrete (integer) variable (by default: region number).
Argument list (all variables are input only): IJ : particle type PCONTR : particle momentum XA,YA,ZA : particle position MREG : current region LATCLL : current lattice cell ICALL : internal code calling flag (not for general use) If name-based input is being used, the name corresponding to MREG can be obtained via a call to routine GEOR2N: CALL GEOR2N (NUMREG, NAMREG, IERR) where NUMREG (input variable) is the region number, and NAMREG (returned variable) is the corresponding region name (to be declared as CHARACTER*8). IERR is a returned error code: if = 0, the conversion is successful. See example in the description of BXDRAW below.
* LUSRBL defines another discrete (integer) variable (by default:
lattice number) Argument list: same as for MUSRBR above
* FUSRBV defines a continuous (double precision) variable (no default)
Argument list: same as for MUSRBR above (except LATCLL) The 3 functions are called at tracklength events. What is scored is the particle track-length multiplied by the particle's weight, possibly modified by a user-written FLUSCW (see above).

Previous Index Next