+-------------+ +----------## | Geant 3.12 | GEANT User's Guide | GEOM410 ## +-------------+ +----------##
Author(s) : F.Bruyant,A.C.McPherson Submitted: 16.12.83 Origin : Same Revised: 22.04.89
+------------------------------------------------------+ |CALL GSNEXT (MOTHER,IN,NLIST,LIST) | +------------------------------------------------------+
Only for volumes with search flags = 0 or negative. Stores a given ordered 'LIST' ofNLIST daughter volumes to search for when leaving the IN'th daughter of a mother volume MOTHER.
-------> Default facility :
If IN=0, for each content in turn, GSNEXT builds a list limited to the contents IN+1 (if it exists), IN-1 (if it exists) and IN itself.
+------------------------------------------------------+ |CALL GSNEAR (MOTHER,IN,NLIST,LIST) | +------------------------------------------------------+
Gives an ordered list of NLIST daughter volumes to search for when leaving the INth daughter of the volume mother.
LIST(1) = 0 means back in the mother at exit of INth content. If IN =-1, the mother is considered to have no contents contiguous to its boundaries (status bit 4 set in mother volume bank for action in GGCLOS). If IN = 0 for each content in turn GSNEAR builds a list to 1 elementLIST (is = 0) GSNEAR should be called after all contents have been position ( except when IN = -1)
+----------------------------------------------+ | CALL GSUNEA (NAME,ISEARC) | +----------------------------------------------+
Specifies user ordering for the contents of volume NAME sets the search flag to ISEARC (should be positive).
+--------------------------------------------------+ | CALL GUNEAR (ISEARC,XC,INEAR) | +--------------------------------------------------+
Uses routine to fill, at execution time from GNEXT (/GTNEXT/) and GMEDIA the bank at address JNEAR with the number and list of contents of interest (possible neighbours) at point XC (in local system, of mother volume with search flag ISEARCH).