Pseudo Division of a Mother Volume

+-------------+                                               +----------##
| Geant 3.12  |               GEANT User's Guide              | GEOM400  ##
+-------------+                                               +----------##
                                   

Author(s) : A.C.McPherson Submitted: 16.12.83 Origin : R.Brun,F.Bruyant Revised: 22.04.89

               +------------------------------------------+
               |CALL GSORD (NAME,ICORD) |
               +------------------------------------------+
                                  

After the whole geometrical set up has been defined, the subroutine GGORD is called by the subroutine GGCLOS. For each volume flagged by GSORD, GGORD computes the limits of each of the contents, along the given coordinate axis and prepares the lists of contents in each of the section defined by neighbouring coordinate. The JVOLUM structure is extended, for the mother volume, with banks which contains the list of boundaries and the lists of contents, so as to permit a binary search to access the contents of interest. The coordinates are in the local system of the mother volume. Sets the search flag of volume NAME to ICORD to require that its content be ordered along the axis ICORD.

NAME
Name of parent volume.
ICORD
Defines the coordinate type: 1 = x, 2 = y, 3 = z, 4 = R cylindrical (in the x,y plane), 5 = R spherical, 6 = Phi, the azimuth in the x,y plane, and 7 = Theta, the polar angle with respect to the z axis.