Message: G4Orb DistanceToOut Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4Orb DistanceToOut 

Forum: Geometry
Date: 14 Dec, 2015
From: Nick Calvert <Nick Calvert>

I have been noticing I get a lot of warnings in my simulations when I include a G4Sphere or G4Orb. I wasn't sure if the problem was with my particular simulation geometry or the toolbox, so I created a test simulation stripping away everything other than a gamma source and a G4Orb. The gammas were fired as a cone-beam covering the Orb (and some missed the Orb completely).

With this quick test and simple geometry I am still getting the G4Orb::DistanceToOut(p,v,..) warning messages in the command window, which is obviously slowing down my simulations.Some geometries appear to result in a larger number of these warnings than others.

I am using v4.10.01

I was wondering if this was a bug with Geant and if so whether it is affecting my results at all and also if it is a bug, is it possible to turn off the warnings until it is fixed?

This is an example of the warning message:

G4WT15 > -----------------------------------------------------------
    *** Dump for solid - Sample ***
 Solid type: G4Orb
    outer radius: 5 mm 

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomSolids1002
      issued by : G4Orb::DistanceToOut(p,v,..)
Logic error: snxt = kInfinity ???

p.x() = -4.929030431562417 mm p.y() = 0.8785400815854625 mm p.z() = -0.2560744964679586 mm

Rp = 5.01325720644392 mm


v.x() = -0.374355756669679 v.y() = 0.4154183562424905 v.z() = -0.8290267527318159

Proposed distance :

snxt = 9e+99 mm

*** This is just a warning message. *** -------- WWWW -------- G4Exception-END --------- WWWW -------

Thanks, Nick

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: G4Orb DistanceToOut   (Vladimir Grichine - 13 Jan, 2016)
1 None: Re: G4Orb DistanceToOut   (Nick Calvert - 15 Jan, 2016)
2 None: Re: G4Orb DistanceToOut   (Vladimir Grichine - 18 Jan, 2016)
1 None: Re: G4Orb DistanceToOut   (Nick Calvert - 18 Jan, 2016)
 Add Message Add Message
to: "G4Orb DistanceToOut"

 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 ]