CALL FLINIT FLINIT initialises the FLUKA variables and reads data from a file (flukaaf.dat) which is automatically opened. FLINIT is called from FLDIST when a hadron enters there first time in the run.
CALL FLDIST FLDIST computes the distance to the next interaction point. It calls the FLUKA routines to compute the cross-sections for all particles except neutrons with kinetic energy below 20 MeV for which GHEISHA routines are called. FLDIST is called from the user routine GUPHAD where the hadronic package can be chosen.
CALL FLUFIN FLUFIN calls the FLUKA routines to generate the hadronic interaction. It passes the particle to FLUKA interaction routines and puts the eventual secondary particles to the GEANT stack. FLUFIN is called from the user routine GUHADR.