Problem 658 - G4Sphere::DistanceToOut - Invalid enum
Summary: G4Sphere::DistanceToOut - Invalid enum
Status: RESOLVED WORKSFORME
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/solids (show other problems)
Version: 5.2
Hardware: PC Linux
: P2 normal
Assignee: Vladimir.Grichine
URL:
Depends on:
Blocks:
 
Reported: 2004-08-05 02:11 CEST by smstrain
Modified: 2004-11-07 02:29 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description smstrain 2004-08-05 02:11:14 CEST
Program aborts, saying 'G4Sphere::DistanceToOut() - Invalid enum'. The dump
says:
Solid type: G4Sphere; Parameters: inner radius: 209.6 mm ; outer radius:
211.2658 mm; starting and delta phi 0 and 360 degrees; starting and delta theta
0 and 90 degrees; p: (-35.69953348982516 mm, 198.3183279249958,
56.30959457033987 ); v = (-.2346058124516908,-
0.9450502890785083,0.2276841318065671); Proposed distance: snxt = 9e+99 mm .
If I pass in calcNorm = true, it aborts; if calcNorm = false, it returns a huge
value, but doesn't abort.
If I replace the hollow sphere by a solid sphere with radii 0 and 209.6 mm, it
doesn't abort. If both are present, it aborts, but gives the inner radius as
zero (so it's from the solid sphere). kRadTolerance is 1.e09 .
Comment 1 Vladimir.Grichine 2004-11-07 02:29:59 CET
The point is located outside of the sphere: Rp=209.22568 mm.
Therefore G4Sphere::DistanceToOut can not be called for the point.
We need an (as simple as possible) application showing prehistory
of the configuration.