next up previous index
Next: Connection with the Up: TRAK001 The tracking Previous: Magnetic field transport

The subroutine GUSTEP

The current track parameters are available in the common /GCTRAK/ together with all variables necessary to the tracking routines for the control of the step size. In addition, a few flags and variables are stored in the common block /GCTRAK/ to record the history of the current step:

This information is necessary for the user to take the proper actions in the subroutine GUSTEP which is called by GTRACK at the end of every step and when entering a new volume.

The variable NGKINE in common /GCKING/ contains the number of secondary particles generated at every step, and which are stored in the same common. Depending on the application and on the particle type the user may then take the appropriate action in GUSTEP:


Janne Saarela
Mon Apr 3 12:46:29 METDST 1995