Message: Disable G4Navigator Overlap Check Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Disable G4Navigator Overlap Check 

Forum: Geometry
Date: 12 Apr, 2016
From: <herr_apa>


I hope this is the right forum for this request.

In, there is a check for what to do when a particle takes a step with zero length. After a certain number of zero-length steps (10 by default) the particle is pushed some distance. After even more zero-length steps (25 by default), the track is killed. When G4Navigator kills a track, it also checks the current volume for overlaps. I would like to have the option to disable this check.

I'm currently working with a geometry that contains a very large (several million) number of elements. The geometry is "flat", so they all have the same mother volume. If a simulation has bad luck and gets a few killed tracks, the time spent in G4PVPlacement::CheckOverlaps can easily be 50% of the overall simulation time. There are no overlaps in the geometry (the check always returns false), so choosing not to do the check seems to be the way forward.


// Anders

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

1 Feedback: Re: Disable G4Navigator Overlap Check   (Gabriele Cosmo - 12 Apr, 2016)
2 None: Re: Disable G4Navigator Overlap Check   (John Apostolakis - 15 Apr, 2016)
 Add Message Add Message
to: "Disable G4Navigator Overlap Check"

 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 ]