Message: Geometry hierarchy (layer/depth) vs simulation time Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Geometry hierarchy (layer/depth) vs simulation time 

Forum: Geometry
Date: 01 Apr, 2013
From: Xinchun Tian <Xinchun Tian>

Dear Geometry Experts,

We are trying to understand the geometry hierarchy vs simulation time. We used GDML to describe our geometry.
Taking the attached picture, 16 Cells.pdf as an example, we have tens of thousands of such volumes in our MC Geometry, and the questions is what is the best way to organize the hierarchy to speed up the simulation.

Currently, we followed the engineering patterns. vHCell, 16 in total, is at the same node level which is the lowest level, vHExtru is the assembly volume.
An alternative, as shown in quadcell.png, is to group two vHCell together as DiCell and then group DiCell as QuadCell, and then group two QuadCell as OctetCell, and then group two OctetCell as HexCell. In this way, we hope to reduce the simulation time by assuming that Geant4 will only search two adjacent Cells instead of 16, but this schema increases the simulation time.

Any suggestions?

Thanks,
Xinchun

 [ MIME part of type text/html without a name stripped ]

   Attachment:
     http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2013/04/01/08.28-23225-16_Cells.pdf

   Attachment:
     http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2013/04/01/08.28-64828-quadcell.png

 Add Message Add Message
to: "Geometry hierarchy (layer/depth) vs simulation time"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]