Message: G4Sphere::DistanceToOut(p,v,..) Undefined side ... Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4Sphere::DistanceToOut(p,v,..) Undefined side ... 

Forum: Geometry
Date: 18 Mar, 2010
From: Hossein AFSHARPOUR <Hossein AFSHARPOUR>

I'm creating concentric scoring spheres around a point source. The thickness of each shell is 1 mm and they go from 1 to 1000 mm. Does anyone know why I'm getting these warnings

-----------------------------------------------------------
    *** Dump for solid - Score_Solid ***
    ===================================================
 Solid type: G4Sphere
 Parameters: 
    inner radius: 47 mm 
    outer radius: 48 mm 
    starting phi of segment  : 0 degrees 
    delta phi of segment     : 200 degrees 
    starting theta of segment: 80 degrees 
    delta theta of segment   : 100 degrees 
-----------------------------------------------------------
Position:

p.x() = 43.37539710867407 mm p.y() = 16.12036885157033 mm p.z() = -8.224548565698871 mm

Direction:

v.x() = -0.4161958548132512 v.y() = 0.6603942936714858 v.z() = -0.6250283092167956

Proposed distance :

snxt = 9e+99 mm

*** G4Exception : Notification
      issued by : G4Sphere::DistanceToOut(p,v,..)
Undefined side for valid surface normal to solid.
*** This is just a warning message.

-----------------------------------------------------------
    *** Dump for solid - Score_Solid ***
    ===================================================
 Solid type: G4Sphere
 Parameters: 
    inner radius: 47 mm 
    outer radius: 48 mm 
    starting phi of segment  : 0 degrees 
    delta phi of segment     : 200 degrees 
    starting theta of segment: 80 degrees 
    delta theta of segment   : 100 degrees 
-----------------------------------------------------------
Position:

p.x() = 43.3753971086740719442787 mm p.y() = 16.1203688515703333905549 mm p.z() = -8.22454856569887127193397 mm

Rp = 46.9993038816043409156009 mm

Direction:

v.x() = -0.416195854813251220338799 v.y() = 0.660394293671485832497581 v.z() = -0.625028309216795641134468

Proposed distance :

snxt = 8.99999999999999994885913e+99 mm

*** G4Exception : Notification
      issued by : G4Sphere::DistanceToOut(p,v,..)
Logic error: snxt = kInfinity  ???
*** This is just a warning message.

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

1 None: Re: G4Sphere::DistanceToOut(p,v,..) Undefined side ...   (Vladimir Grichine - 24 Mar, 2010)
(_ None: Re: G4Sphere::DistanceToOut(p,v,..) Undefined side ...   (Hossein AFSHARPOUR - 24 Mar, 2010)
 Add Message Add Message
to: "G4Sphere::DistanceToOut(p,v,..) Undefined side ..."

 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 ]