+-------------+ +----------## | Geant 3.10 | GEANT User's Guide | GEOM150 ## +-------------+ +----------##
Author(s) : F.Bruyant,A.McPherson Submitted: 17.12.83 Origin : R.Brun,F.Bruyant,A.McPherson Revised: 20.05.86
+---------------------------------------------------------------------------+ |CALL GSDVX (NAME,MOTHER,NDIV,IAXIS,STEP,C0,NUMED,NDVMAX) | +---------------------------------------------------------------------------+
Divides the volume MOTHER into NDIV divisions of size STEP along axis IAXIS starting at coordinate C0. See also GEOM 130 and 140. NDIV (or STEP) can be set negative or 0, in which case it will be computed from the MOTHER's size. The case with both NDIV and STEP positive is not coded yet. It will permit to leave gaps at both ends of the MOTHER. Provisionally the code consists of a call to either GSDVN2 or GSDVT2.
+------------------------------------------------------------------+ | CALL GSDVN2 (NAME,MOTHER,NDIV,IAXIS,C0,NUMED) | +------------------------------------------------------------------+
A new volume will be created with the name NAME and the appropriate parameters to define the slice shape. The slices will commence at the user specified coordinate value and extend to the end of the volume. This range from origin to upper coordinate limit of the mother volume will be divided exactly into the user supplied number of slices. In the case of a phi division of a complete tube or cone the whole 360 degrees will be divided into the user supplied number of slices no matter what the origin is. The origin, in this case, just moves the division boundaries. In all other cases the search routines will assume a point is just in the mother if the coordinate value is less than the value of the user supplied origin.
+------------------------------------------------------------------------+ | CALL GSDVT2 (NAME,MOTHER,STEP,IAXIS,C0,NUMED,NDVMX) | +------------------------------------------------------------------------+
A new volume will be created with the name NAME and the appropriate parameters to define the slice shape. The slices will commence at the user specified coordinate value and extend to the end of the volume. This range from origin to upper coordinate limit of the mother volume will be divided in sections of the user supplied step. If the step does not fit to form an exact number of divisions, then the largest number which will fit will be made and any excess space up to the end of the mother volume will be assumed to be just the mother. In the case of a phi division of a complete tube or cone the region to be divided will be assumed to the complete circle from origin back to itself. In all other cases the search routines will assume a point is just in the mother if the coordinate value is less than the value of the user supplied origin.
Calls to GSDVS2 are identical to calls to GSDVT2 with NDVMX = 0 . In the next program version GSDVS2 will not be supported anymore.