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

Feedback Re: Disable G4Navigator Overlap Check 

Forum: Geometry
Re: None Disable G4Navigator Overlap Check
Date: 12 Apr, 2016
From: Gabriele Cosmo <Gabriele Cosmo>

Hi Anders,

with version 10.2.p01 you can have the check automatically disabled if you
install Geant4 in no-verbose mode (i.e. GEANT4_BUILD_VERBOSE_CODE=OFF
in your CMake configuration).

Cheers, Gabriele

On Tue, 12 Apr 2016 12:03:54 GMT, herr_apa wrote:
> Hi,
> 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.
> Thanks!
> // Anders

 Add Message Add Message
to: "Re: 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 ]