Message: Slow Navigation using Parameterized Volumes? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Slow Navigation using Parameterized Volumes? 

Forum: Geometry
Date: 06 Oct, 2017
From: Scott Dow <Scott Dow>

Hello!

I am currently attempting to simulate optical photon transport in a columnar material. For this task, I am simulating the microstructure of the material - this involves a hexagonal array of long cylinders, involving sometimes 100,000+ cylinders. However, execution time quickly spirals out of control, with 1 optical photon taking on the order of seconds to simulate. Since millions of optical photons must be simulated, this is not viable.

I suspect that navigation must be the issue. From my understanding, when attempting to decide which volume a step ends in, first the current volume is checked, then its mother volume, and so on. Once a containing volume is found, daughters are checked. My implementation of the columnar structure is 100,000+ cylinders via parameterized volumes, all contained in a single mother volume. I think that each of the cylinders must be getting checked when an optical photon travels from the mother volume into a cylinder. Is this correct?

My question: Is my suspicion most likely correct, as to why it is taking so long to simulate? And if so, is there a straight forward way to create an appropriate hierarchy of volumes so as to reduce execution time?

Thanks! -Scott

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: Slow Navigation using Parameterized Volumes?   (Scott Dow - 06 Oct, 2017)
(_ None: Re: Slow Navigation using Parameterized Volumes?   (Scott Dow - 06 Oct, 2017)
 Add Message Add Message
to: "Slow Navigation using Parameterized Volumes?"

 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 ]