Message: A track stuck between two volumes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question A track stuck between two volumes 

Forum: Geometry
Date: 25 Feb, 2015
From: Doris <Doris>

Hello,

     Recently my colleague experienced a geometry related problem.

     He was doing material scan, but found that a track stuck at a certain position between two volumes, which was hanging his job. The step length of the track was very small at that area, from 0 to 1e-13, and it was doing infinite looping between two volumes.

     He solved the problem by inserting a go-around in his own code. However, we wonder if this is just one incident or a glimpse of a more general problem. If it is the latter case, the Geant4 code may need a tolerance for the zero step length. For example, the line

     fLastStepWasZero = (Step==0.0);

in G4Navigataor.cc could have a tolerance logic instead.

     Has anyone experienced a similar problem? I would be happy to listen to your opinions.

     Regards,
     Doris

 Add Message Add Message
to: "A track stuck between two 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 ]