Problem 303

Summary: Invalid enum in G4Sphere::DistanceToOut
Product: Geant4 Reporter: cf
Component: geometry/solidsAssignee: Vladimir.Grichine
Status: CLOSED INVALID    
Severity: normal    
Priority: P2    
Version: 3.2   
Hardware: PC   
OS: Linux   

Description cf 2001-09-25 11:47:36 CEST
When running a simulation i get the line mentioned in the summary and then the
program crashes. When i look at the log file i get this:

********************************************************************************
* G4Track Information:   Particle = neutron,   Track ID = 25,   Parent ID = 1
********************************************************************************

Step#    X(mm)    Y(mm)    Z(mm) KinE(MeV)  dE(MeV) StepLeng TrackLeng
NextVolume ProcName
    0     -566     -511      296      3.79        0        0         0
TKWL           initStep
    1     -563     -517      294      3.79        0     5.94      5.94
TKWL           LElastic

Sphere parameters:

fRmin = 278.746 mm
fRmax = 280 mm
fSPhi = 0 degree
fDPhi = 360 degree
fSTheta = 0 degree
fDTheta = 90 degree

Position:

p.x() = -249.5020724528353 mm
p.y() = 26.81253142743162 mm
p.z() = 114.8988524453591 mm

Direction:

v.x() = 0.3851794694873336
v.y() = -0.9028570057148669
v.z() = -0.1910130977630616

Proposed distance :

snxt = 9e+99 mm


The coords of my hemisphere are -313.75, -543.431, 179.4829 mm. I think that the
particle is stepping from inside the hemispherical shell to outside it without
crossing the boundary. Any suggestions?
Comment 1 Vladimir.Grichine 2001-11-21 02:57:59 CET
The point is located outside and hence DistanceToOut can not be called.
Therefore the problem should be addressed to navigation.
Comment 2 Vladimir.Grichine 2002-04-23 10:16:59 CEST
The problem is closed.
DistanceToOut was called from outside because improper navigation.
Fixes are included in Release4.0 patch-01