Problem 493

Summary: precision in geometry volumes: geant exits with a "dump of solid"
Product: Geant4 Reporter: korsch
Component: geometry/volumesAssignee: John Apostolakis <John.Apostolakis>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P2    
Version: 5.1   
Hardware: PC   
OS: Linux   

Description korsch 2003-05-27 16:07:41 CEST
The problem I encountered is that Geant 4.5.1 stops
(exits) whenever a trakc gets very close to a boundary
of a solid (I don't even know how it gets there).
For example:

----------------------------------------------------------
    *** Dump for solid - Shower ***
    ===================================================
 Solid type: G4Box
 Parameters:
    half length X: 42.5 mm
    half length Y: 42.5 mm
    half length Z: 180 mm
-----------------------------------------------------------
Position:

p.x() = 19.80463046276509 mm
p.y() = -42.50000000000002 mm
p.z() = -145.8308287146216 mm

Direction:

v.x() = 0
v.y() = 0
v.z() = 0

Proposed distance :

snxt = 9e+99 mm

G4Box::DistanceToOut() - Invalid enum

*** G4Exception: Aborting execution ***

Is there any trick to avoid such behaviour?

Thanks.

Wolfgang Korsch
Comment 1 Gabriele Cosmo 2003-06-04 02:27:59 CEST
That problem should be fixed in the patch-01 to release 5.1 distributed
on May 19th. Please, check it out.