|Message: Re: overlapping volumes with same material||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On Tue, 30 Jul 2013 13:21:38 GMT, Jean-Pascal Laedermann wrote:
> It seems that Geant 4 doesn't allow overlaps of two volumes in the same > mother.
That's correct. Overlapping volumes are forbidden. If one volume is fully contained within another, it should be made a daughter volume.
> But if the volumes are made from the same material, this should > not be a problem, isn't it?
It is a problem, because the volume boundaries serve purposes other than just to separate materials.
For optical processes, they are the actors for reflection/transmission/refraction effects. Two blocks of "the same material", with different surface properties, may have quite different optical photon propagation results than a singule uniform volume.
In general, particle tracking is always "stopped" at a volume boundary. The particle is then stepped into the new volume and material, and tracking starts up again. With overlaps, this action may not be consistent, nor reversible.
The nested, non-overlapping structure of volumes is a necessary assumption for the tracking (G4Navigator) system to optimize its internal map of the World. The "voxelization" process is able to collapse your hierarchical geometry into a 3D table mapping locations in space uniquely to volumes, thereby dramatically improving the tracking speed. Overlapping volumes makes the unique mapping impossible (or in practice internally inconsistent).
Geant4 provides a set of "boolean" volume classes to allow you to merge overlapping simple shapes (our so-called "CSG solids") into more complex structures, with overlaps, removed chunks, and so on. Please see the Application Developers' Guide for details.
-- Michael Kelsey