[Gate-users] G4sphere not available

Adil Bardane adilbardane at gmail.com
Sat May 2 00:40:53 CEST 2020


Dear Gate users


Hello

I'm currently using Gate v7.1.


I tried to use setRmin for hollow sphere on nanometer scale.

e.g.,

/gate/sphere/geometry/setRmin 1 nm

/gate/sphere/geometry/setRmax 20 nm


However, I got G4Exception as below.

This error does not occur if I replace nm with mm OR if I use 0 nm for
setRmin (=full sphere).

Could you provide any comments or help to solve this problem? I
appreciate any help in advance.


-----------------------------------------------------------
    *** Dump for solid - sphere_solid ***
    ===================================================
 Solid type: G4Sphere
 Parameters:
    inner radius: 1e-06 mm
    outer radius: 2.000000000000001e-05 mm
    starting phi of segment  : 0 degrees
    delta phi of segment     : 360 degrees
    starting theta of segment: 0 degrees
    delta theta of segment   : 180 degrees
-----------------------------------------------------------

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

p.x() = 5.106433541911882e-07 mm
p.y() = -7.11253374326104e-07 mm
p.z() = 9.224550730873363e-08 mm

Rp = 8.80424460864498e-07 mm

Direction:

v.x() = 0.9926097739516453
v.y() = -0.02063914065141685
v.z() = 0.1195820326338147

Proposed distance :

snxt = 9e+99 mm

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


adil
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200501/0b161d6b/attachment.html>


More information about the Gate-users mailing list