22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Geant 3.16 GEANT User’s Guide GEOM140<br />

Origin : F.Bruyant, A.McPherson, M.Maire Submitted: 17.12.83<br />

Revision : Revised: 18.11.93<br />

Documentation :<br />

Division of a Volume into cells of a given size<br />

This routine creates new volumes from a mother by divisions of a given step.<br />

CALL GSDVT<br />

(CHNAME,CHMOTH,STEP,IAXIS,NUMED,NDVMX)<br />

CHNAME<br />

CHMOTH<br />

STEP<br />

IAXIS<br />

NUMED<br />

NDVMX<br />

(CHARACTER*4) a unique name for the volume to be generated by subdivision of the mother<br />

volume;<br />

(CHARACTER*4) volume that has to be subdivided;<br />

(REAL) size of the divisions – this value can be in centimeters or degrees according to the value<br />

of IAXIS;<br />

(INTEGER) axis of the division.<br />

(INTEGER) medium number of the divisions – this can be different from the one of the mother,<br />

as the division cells may leave a portion of the mother undivided (see below) – if NUMED ≤ 0<br />

the medium of the mother;<br />

(INTEGER) expected (maximum) number of divisions – if ≤ 0 or > 255, 255 is assumed.<br />

The full range of the mother will be divided in sections of the user supplied step. If the step is such that<br />

the mother cannot be divided exactly, the largest possible number of divisions will be generated, the excess<br />

space will be equally divided between each end of the range of the mother. These extra spaces will be<br />

assumed to belong to the mother.<br />

For more information on the division in general, see [GEOM130].<br />

128 GEOM140 – 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!