Problem 1406

Summary: Left-over debug checks in G4VoxelNavigation::ComputeSafety()
Product: Geant4 Reporter: Gabriele Cosmo <Gabriele.Cosmo>
Component: geometry/navigationAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P5    
Version: 9.6   
Hardware: All   
OS: All   

Description Gabriele Cosmo 2012-12-10 14:35:53 CET
The following printout is occasionally triggered in complex setups:

*** G4Exception : GeomNav0003 issued by G4VoxelNavigation::ComputeSafety()
   Safety method called for location outside current Volume.
Location for safety is Outside this volume.
The approximate distance to the solid (safety from outside) is: 0.000473851
 Problem occurred with physical volume:  Name: XXX Copy No: Y
   Local Point = (X,Y,Z)
 Description of solid:
     :

due to additional debug checks activated by default in the code of GG4VoxelNavigation::ComputeSafety(), which should be instead be protected between G4DEBUG_NAVIGATION flag.
Comment 1 Gabriele Cosmo 2012-12-10 14:36:42 CET
Fixed in development tag "geomnav-V09-06-00".
Will be part of 9.6.p01.