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

Question Re: G4Sphere::DistanceToOut(p,v,..) 

Forum: Geometry
Re: Question G4Sphere::DistanceToOut(p,v,..) (ying zhang)
Date: 08 Mar, 2018
From: Juliana Cristina Martins <Juliana Cristina Martins>

Hey there,

I am getting the same problem, but for a geometry that doesn't exist! I don't even have a "bixMesh_10" anywhere in my code.

And also: this problem only happens when I use G4ParticleGun as particle generator. If I change (to phase space or if I use G4PrimaryParticle, it works perfectly).

Does anyone have a clue on why that happens?

Thanks a lot, Juliana

*** Dump for solid - boxMesh_10 ***
    ===================================================
 Solid type: G4Box
 Parameters: 
    half length X: 290 mm 
    half length Y: 5 mm 
    half length Z: 290 mm 
-----------------------------------------------------------

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomSolids1002
      issued by : G4Box::DistanceToOut(p,v,..)
Undefined side for valid surface normal to solid.
Position:

p.x() = 60.14809412672574 mm p.y() = 5 mm p.z() = -76.23934342459388 mm

Direction:

v.x() = -nan v.y() = nan v.z() = nan

Proposed distance :

snxt = 9e+99 mm

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

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

1 None: Re: G4Sphere::DistanceToOut(p,v,..)   (John Apostolakis - 08 Mar, 2018)
 Add Message Add Message
to: "Re: G4Sphere::DistanceToOut(p,v,..)"

 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 ]