CERN homepage INFN homepage
FLUKA: 13.1} INCLUDE files Previous Index Next

13.1} INCLUDE files

 -------------------
 It is recommended that at least the following lines be present at the beginning
 of each routine:
       INCLUDE '(DBLPRC)'
       INCLUDE '(DIMPAR)'
       INCLUDE '(IOUNIT)'
 Each INCLUDE contains a COMMON block, plus related constants.
 Additional INCLUDEs may be useful, in particular BEAMCM, CASLIM, EMFSTK, SOURCM,
 EVTFLG, FHEAVY, GENSTK, LTCLCM, FLKMAT, RESNUC, SCOHLP, SOUEVT, FLKSTK, SUMCOU,
 TRACKR, USRBIN, USRBDX, USRTRC, USRYLD.

 Files flukaadd,add and emfadd.add contain a full documentation about the
 meaning of the variables of these INCLUDE files.

 Here is a summary of their content:

  DBLPRC: included in ALL routines of FLUKA, contains the declaration
          IMPLICIT DOUBLE PRECISION (A-H,O-Z)
          and sets many mathematical and physical constants. Users are strongly
          encouraged to adhere to "FLUKA style" by using systematically double
          precision (except for very good reasons such as calling external single
          precision scoring packages), and to use constants defined in this file
          for maximum accuracy.
  DIMPAR: dimensions of the most important arrays
  IOUNIT: logical input and output unit numbers

  BEAMCM: properties of primary particles as defined by options BEAM
          and BEAMPOS
  CASLIM: number of primary particles followed (needed for normalisation)
  EMFSTK: particle stack for electrons and photons
  SOURCM: user variables and information for a user-written source
  EVTFLG: event flags (still undocumented)
  FHEAVY: stack of heavy secondaries created in nuclear evaporation
  GENSTK:  properties of each secondary created in a hadronic event
  LTCLCM: LaTtice CeLl CoMmon (needed when writing symmetry transformations for
          Lattice Geometry)
  FLKMAT:   material properties
  RESNUC: properties of the current residual nucleus
  SCOHLP: SCOring HeLP (information on current detector and estimator type). It
          contains a flag ISCRNG, indicating the quantity being scored by the
          current binning or the estimator corresponding to the current
          detector, and one JSCRNG corresponding to the binning/detector number.
          Binnings and detectors are sequentially numbered according to their
          order of appearance in standard input. Note that detectors
          corresponding to different estimators can have the same JSCRNG number
          (for instance Binning N. 3 and Tracklength detector N. 3). They can be
          distinguished based on the value of ISCRNG. However, note that the
          same value of ISCRNG may have different meanings in functions FLUSCW
          and COMSCW.
  SOUEVT: SOUrce EVenT (useful when source particles are obtained from an
          external event generator)
  FLKSTK:  main FLUKA particle stack
  SUMCOU: total numbers and total weights relative to many physical and Monte
          Carlo events (needed for normalisation, energy balance etc.)
  TRACKR: TRACKs Recording (properties of the currently transported particle and
          its path)
  USRBIN, USRBDX, USRSNC, USRTRC, USRYLD: parameters of the requested estimator
          detectors and binnings


Previous Index Next