Message: Help: G4VIntersectionLocator::GetSurfaceNormal Warning Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Help: G4VIntersectionLocator::GetSurfaceNormal Warning 

Forum: Geometry
Date: 06 Jun, 2012
From: Evan Rand <Evan Rand>

Hello, I keep getting these warning messages while running my simulation. It seems to be caused by a G4SubtractionSolid volume which has a odd polygon shape. The only way to create this odd shape was to first create a G4Para, then chop off one side at an angle. There is nothing else "special" about this volume, it isn't even sensitive.

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomNav1002
      issued by : G4VIntersectionLocator::GetGlobalSurfaceNormal()
G4VIntersectionLocator::GetSurfaceNormal -- identified problem.
PROBLEM: Normal is not unit - magnitude = 2.08082
   at trial intersection point (145.828,1.47094,-49.384)
   Obtained from Get *Last* Surface Normal.

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

My understanding of the error is that Geant4 is trying to calculate the surface normal, when for some reason it calculates a unit vector which is not one.

My questions are:

1. Is there a way to "fix" my code such that Geant4 correctly calculates the surface normal?

2. If 1. isn't easily solved, should I even be concerned about this warning in the first place?

Any help is greatly appreciated. Cheers, Evan

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

1 None: Re: Help: G4VIntersectionLocator::GetSurfaceNormal Warning   (Vladimir Grichine - 06 Jun, 2012)
1 None: Re: Help: G4VIntersectionLocator::GetSurfaceNormal Warning   (Evan - 07 Jun, 2012)
2 None: Re: Help: G4VIntersectionLocator::GetSurfaceNormal Warning   (John Apostolakis - 08 Jun, 2012)
 Add Message Add Message
to: "Help: G4VIntersectionLocator::GetSurfaceNormal Warning"

 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 ]