<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear John Apostolakis</p>
<p><br>
</p>
<p>I appreciate your feedback.</p>
<p><br>
</p>
<p>First of all, G4exception still occurred with your file.</p>
<p>I added "G4GeometryManager" line before creating GateBox for world in GateDetectorConstruction.cc. But Geant4 still induce G4exception.
</p>
<p><br>
</p>
<p>Also, I found some interesting phenomenon.</p>
<p>If another full sphere inside hollow sphere is added, then this G4exception does not occur.</p>
<p><br>
</p>
<p>I add answers to your questions as below.</p>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>º¸³½ »ç¶÷:</b> John Apostolakis <John.Apostolakis@cern.ch><br>
<b>º¸³½ ³¯Â¥:</b> 2015³â 11¿ù 11ÀÏ ¼ö¿äÀÏ ¿ÀÈÄ 8:10<br>
<b>¹Þ´Â »ç¶÷:</b> ¼º¿ø¸ð<br>
<b>ÂüÁ¶:</b> gate-users<br>
<b>Á¦¸ñ:</b> Re: [Gate-users] G4sphere not available on nanometer scale</font>
<div> </div>
</div>
<div>
<div class="" style="word-wrap:break-word">A colleague informed me that there was a fix made recently (done in August) which was not included in the latest patch to 10.1
<div class="">to G4GeometryTolerance, to tune radial tolerance. In the past only the Cartesian one was tuned to the size of the setup.</div>
<div class=""><br class="">
</div>
<div class="">I attach the relevant file which you can use to replace the file source/global/management/src/<a href="http://G4GeometryTolerance.cc" class="" id="LPlnk437" title="http://G4GeometryTolerance.cc
Ctrl¸µÅ©¸¦ µû¶ó°¡·Á¸é <Ctrl> Å°¸¦ ´©¸¥ ä Ŭ¸¯Çϰųª ÅÇÇϼ¼¿ä.">G4GeometryTolerance.cc</a></div>
<div class=""><br class="">
Perhaps that can help. <br class="">
<div class=""><span class="x_Apple-style-span" style="border-collapse:separate; border-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div class="" style="word-wrap:break-word"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div class="" style="word-wrap:break-word"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div class="" style="word-wrap:break-word"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div class="" style="word-wrap:break-word"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div class="" style="word-wrap:break-word">
<div class=""><span class="" style="">John</span></div>
<div class="">
<div class=""><span class="x_Apple-style-span" style="border-collapse:separate; border-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div class="" style="word-wrap:break-word">
<div class="">===================================================</div>
<div class="">John Apostolakis, PH Department, CERN</div>
<div class=""><br class="">
</div>
</div>
</span></span></div>
</div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></span></div>
<div class=""></div>
</div>
</div>
<div class="" style="word-wrap:break-word">
<div class="">
<div class=""></div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 11 Nov 2015, at 11:29, John Apostolakis <<a href="mailto:john.apostolakis@cern.ch" class="">john.apostolakis@cern.ch</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="" style="word-wrap:break-word">Dear Wonmo Sung,
<div class=""><br class="">
</div>
<div class="">Thanks for your feedback.</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">1) It seems that you have discovered a weakness in G4Sphere. I note that the point that is reported </div>
</div>
<div class=""> p.x() = 5.106433541911882e-07 mm<br class="">
p.y() = -7.11253374326104e-07 mm<br class="">
p.z() = 9.224550730873363e-08 mm<br class="">
is at a radius <br class="">
Rp = 8.80424460864498e-07 mm</div>
<div class="">that is smaller than the inner radius.</div>
<div class=""><br class="">
</div>
<div class="">So this point is outside the solid, but DistanceToOut is being called. It on the wrong side of the boundary for this method, so it should not be have been called by the Navigator. </div>
<div class="">[ The solid should be able to provide an answer without an exception - so we should understand and address the issue. ]</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">2) Could you please explain which values of G4GeometryTolerance you have tried ?</div>
<div class=""><br>
</div>
<div class="">>> I've tried from e-15 mm to e-40 mm </div>
</div>
<div class=""><br class="">
</div>
<div class="">3) To figure out a solution (or potentially avoid having this problem) it is important to try to understand why it happened: why did the track arrive at this location while thinking that it was inside this solid. </div>
<div class=""><br class="">
</div>
<div class="">Sometimes this happens because the geometry has problems. Could you explain whether you have other volumes inside this hollow sphere or near it ?</div>
<div class=""><br>
</div>
<div class="">>> I don't have other volumes inside this hollow sphere or near it.</div>
<div class=""><br class="">
</div>
<div class="">To try to diagnose the cause of the navigator¡¯s misunderstanding:</div>
<div class="">- How early does this problem occur ? Can you provide verbose output for the track on which this occurs ? ( This requires activating verbose tracking for that event using "/tracking/verbose 1¡± )</div>
<div class=""><br>
</div>
<div class="">>> Below are the output lines with G4exception.</div>
<div class="">It seems like source was generated inside the hollow sphere even though I assigned source generating inside the hollow sphere. Maybe this is source generator problem? not G4sphere? I tried to figure out with this output lines but failed.</div>
<div class=""><br>
</div>
<div class="">
<div>*********************************************************************************************************</div>
<div>* G4Track Information: Particle = e-, Track ID = 1, Parent ID = 0</div>
<div>*********************************************************************************************************</div>
<div><br>
</div>
<div>Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName</div>
<div> 0 4.34e-06 1.37e-05 1.77e-06 0.0001 0 0 0 world_phys initStep</div>
<div> 1 4.73e-06 1.41e-05 2.03e-06 0.0001 8.78e-14 6.03e-07 6.03e-07 Sphere_phys Transportation</div>
<div> 2 5.38e-06 1.47e-05 2.45e-06 0 0.0001 1e-06 1.6e-06 Sphere_phys StepLimiter</div>
<div><br>
</div>
<div>*********************************************************************************************************</div>
<div>* G4Track Information: Particle = e-, Track ID = 1, Parent ID = 0</div>
<div>*********************************************************************************************************</div>
<div><br>
</div>
<div>Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName</div>
<div> 0 -7.82e-06 5.5e-06 1.16e-05 0.0001 0 0 0 world_phys initStep</div>
<div> 1 -7.82e-06 5.5e-06 1.16e-05 0.0001 0 0 0 Sphere_phys Transportation</div>
<div><br>
</div>
<div>-----------------------------------------------------------</div>
<div> *** Dump for solid - Sphere_solid ***</div>
<div> ===================================================</div>
<div> Solid type: G4Sphere</div>
<div> Parameters: </div>
<div> inner radius: 1.5e-05 mm </div>
<div> outer radius: 2.000000000000001e-05 mm </div>
<div> starting phi of segment : 0 degrees </div>
<div> delta phi of segment : 360 degrees </div>
<div> starting theta of segment: 0 degrees </div>
<div> delta theta of segment : 180 degrees </div>
<div>-----------------------------------------------------------</div>
<div><br>
</div>
<div>-------- WWWW ------- G4Exception-START -------- WWWW -------</div>
<div>*** G4Exception : GeomSolids1002</div>
<div> issued by : G4Sphere::DistanceToOut(p,v,..)</div>
<div>Undefined side for valid surface normal to solid.</div>
<div>Position:</div>
<div><br>
</div>
<div>p.x() = -7.822839418765414e-06 mm</div>
<div>p.y() = 5.497727012249996e-06 mm</div>
<div>p.z() = 1.155760135291585e-05 mm</div>
<div><br>
</div>
<div>Direction:</div>
<div><br>
</div>
<div>v.x() = 0.0314195148038913</div>
<div>v.y() = -0.09605354506485335</div>
<div>v.z() = 0.9948801588985289</div>
<div><br>
</div>
<div>Proposed distance :</div>
<div><br>
</div>
<div>snxt = 9e+99 mm</div>
<div><br>
</div>
<div>*** This is just a warning message. ***</div>
<div>-------- WWWW -------- G4Exception-END --------- WWWW -------</div>
<div><br>
</div>
<div><br>
</div>
<div>-----------------------------------------------------------</div>
<div> *** Dump for solid - Sphere_solid ***</div>
<div> ===================================================</div>
<div> Solid type: G4Sphere</div>
<div> Parameters: </div>
<div> inner radius: 1.5e-05 mm </div>
<div> outer radius: 2.000000000000001e-05 mm </div>
<div> starting phi of segment : 0 degrees </div>
<div> delta phi of segment : 360 degrees </div>
<div> starting theta of segment: 0 degrees </div>
<div> delta theta of segment : 180 degrees </div>
<div>-----------------------------------------------------------</div>
<div><br>
</div>
<div>-------- WWWW ------- G4Exception-START -------- WWWW -------</div>
<div>*** G4Exception : GeomSolids1002</div>
<div> issued by : G4Sphere::DistanceToOut(p,v,..)</div>
<div>Logic error: snxt = kInfinity ???</div>
<div>Position:</div>
<div><br>
</div>
<div>p.x() = -7.822839418765414e-06 mm</div>
<div>p.y() = 5.497727012249996e-06 mm</div>
<div>p.z() = 1.155760135291585e-05 mm</div>
<div><br>
</div>
<div>Rp = 1.499999893019781e-05 mm</div>
<div><br>
</div>
<div>Direction:</div>
<div><br>
</div>
<div>v.x() = 0.0314195148038913</div>
<div>v.y() = -0.09605354506485335</div>
<div>v.z() = 0.9948801588985289</div>
<div><br>
</div>
<div>Proposed distance :</div>
<div><br>
</div>
<div>snxt = 9e+99 mm</div>
<div><br>
</div>
<div>*** This is just a warning message. ***</div>
<div>-------- WWWW -------- G4Exception-END --------- WWWW -------</div>
<div><br>
</div>
<div><br>
</div>
<div>-----------------------------------------------------------</div>
<div><br>
</div>
</div>
<div class="">- Is there a simple version of your GATE input which can reproduce the problem, and which you can share ?</div>
<div class=""><br class="">
</div>
<div class="">>> Please see the attachment for simple GATE input</div>
<div class=""><br>
</div>
<div class=""><br>
</div>
<div class="">4) What version of Geant4 have you used: what was the original version you used with GATE v7.1 ? have you used the whole of Geant4 10.1.p02 now, or just G4Sphere?</div>
<div class=""><br class="">
</div>
<div class="">>> I tested with whole of both Genat4 10.1.p02 and Gate v7.1 master version.</div>
<div class=""><br>
</div>
<div class=""><br>
</div>
<div class="">
<div class=""><span class="x_Apple-style-span" style="border-collapse:separate; border-spacing:0px">
<div class="" style="word-wrap:break-word"><span class="x_Apple-style-span" style="border-collapse:separate; font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; border-spacing:0px">
<div class="" style="word-wrap:break-word"><span class="x_Apple-style-span" style="border-collapse:separate; font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; border-spacing:0px">
<div class="" style="word-wrap:break-word"><span class="x_Apple-style-span" style="border-collapse:separate; font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; border-spacing:0px">
<div class="" style="word-wrap:break-word"><span class="x_Apple-style-span" style="border-collapse:separate; font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; border-spacing:0px">
<div class="" style="word-wrap:break-word">
<div class="">John</div>
<div class="">
<div class=""><span class="x_Apple-style-span" style="border-collapse:separate; font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; border-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; font-family:Helvetica; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; border-spacing:0px">
<div class="" style="word-wrap:break-word">
<div class="">===================================================</div>
<div class="">John Apostolakis, PH Department, CERN</div>
</div>
</span></span></div>
</div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 10 Nov 2015, at 15:32, ¼º¿ø¸ð <<a href="mailto:wsung@snu.ac.kr" class="">wsung@snu.ac.kr</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div id="x_divtagdefaultwrapper" class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(255,255,255)">
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Dear John Apostolakis</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Thanks for immediate and valuable comments!</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
However, unfortunately, both of your solutions does not resolve the problem.</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
1. I tried newest patch of Geant4 (e.g., v.4.10.01.p02) but same G4exception occurred.</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
2. I found how to change tolerance in G4 User Guide. Gate main or detector construction was modified so that it has G4GeometryManager just before defining any geometrical component of the setup.</div>
<p class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
</p>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
e.g.,</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="font-size:12pt">G4GeometryManager::GetInstance()->SetWorldMaximumExtent(some value);</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="font-size:12pt"><br class="">
</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><font face="Calibri, Arial, Helvetica, sans-serif" size="3" class="">Tolerance change was observed using G4GeometryTolerance and tolerance was </font><font face="Calibri, Arial, Helvetica, sans-serif" class="">smaller</font><font face="Calibri, Arial, Helvetica, sans-serif" size="3" class=""> than
e-9 mm</font><font face="Calibri, Arial, Helvetica, sans-serif" size="3" class="">. However, same G4exception remains if I use setRmin.</font></div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
I'm going to test same thing with Geant4 alone and report it in Geant4 Problem reporting system. I would appreciate any comments if you have any insights on this issue.</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Regards,</div>
<div class="" style="margin-top:0px; margin-bottom:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Wonmo Sung</div>
<br class="">
<br class="">
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<hr class="" style="display:inline-block; width:951.578125px" tabindex="-1">
<div id="x_divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" class="" style="font-size:11pt"><b class="">º¸³½ »ç¶÷:</b><span class="x_Apple-converted-space"> </span>John Apostolakis <<a href="mailto:John.Apostolakis@cern.ch" class="">John.Apostolakis@cern.ch</a>><br class="">
<b class="">º¸³½ ³¯Â¥:</b><span class="x_Apple-converted-space"> </span>2015³â 11¿ù 10ÀÏ È¿äÀÏ ¿ÀÈÄ 4:42<br class="">
<b class="">¹Þ´Â »ç¶÷:</b><span class="x_Apple-converted-space"> </span>¼º¿ø¸ð<br class="">
<b class="">ÂüÁ¶:</b><span class="x_Apple-converted-space"> </span><a href="mailto:gate-users@lists.opengatecollaboration.org" class="">gate-users@lists.opengatecollaboration.org</a><br class="">
<b class="">Á¦¸ñ:</b><span class="x_Apple-converted-space"> </span>Re: [Gate-users] G4sphere not available on nanometer scale</font>
<div class=""> </div>
</div>
<div class="">
<div class="">Dear <span class="">Wonmo Sung,</span></div>
<div class=""><span class=""><br class="">
</span></div>
<div class="">Could you confirm the version of Geant4 you are using?</div>
<div class=""><br class="">
</div>
<div class=""><span class="">I have two suggestions. The first is to try using the version of G4Sphere from the newest patch of Geant4. You can copy the source file into your installation, and, if needed only the header file and inline icc file from the include
directory - and of course then the rebuild Geant4 libraries.</span></div>
<div class=""><span class=""><br class="">
</span></div>
<div class=""><span class="">The second concerns the tolerance. The default value is 1.e-09 mm, which is not small enough for your geometry. You can see in the Users Guide how to adapt it to the size of your setup.</span></div>
<div class=""><span class=""><br class="">
</span></div>
<div class=""><span class="">If your problem remains, I suggest to report it in the Geant4 Problem reporting system.</span></div>
<div class=""><span class=""><br class="">
</span></div>
<div class=""><span class="">Regards,</span></div>
<div class=""><span class="">John Apostolakis </span></div>
<div class=""><br class="">
On 10 Nov 2015, at 08:15, ¼º¿ø¸ð <<a href="mailto:wsung@snu.ac.kr" class="">wsung@snu.ac.kr</a>> wrote:<br class="">
<br class="">
</div>
<blockquote type="cite" class="">
<div class="">
<div id="x_divtagdefaultwrapper" class="" style="font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">Dear
Gate users</span></span></span><br class="" style="font-family:Arial,Helvetica,sans-serif">
</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><br class="" style="font-family:Arial,Helvetica,sans-serif">
</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">Hello</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">I'm
currently using Gate v7.1.</span></span><br class="" style="font-family:Arial,Helvetica,sans-serif">
</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">I
tried to use setRmin for hollow sphere on nanometer scale.</span></span><br class="" style="font-family:Arial,Helvetica,sans-serif">
</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">e.g., </span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">/gate/sphere/geometry/setRmin
1 nm</span></span><br class="" style="font-family:Arial,Helvetica,sans-serif">
</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">/gate/sphere/geometry/setRmax 20 nm</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">However,
I got G4Exception as below.</span></span><br class="" style="font-family:Arial,Helvetica,sans-serif">
</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">This
error does not occur if I replace nm with mm OR if I use 0 nm for setRmin (=full sphere).</span></span><br class="" style="font-family:Arial,Helvetica,sans-serif">
</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">Could you provide any comments or help to solve this problem? I appreciate any help in advance.</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif"><span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">------------------------------</span></span></span><wbr class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif"><span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">-----------------------------</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> *** Dump for
solid - sphere_solid ***</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> ==============================</span></span></span><wbr class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif"><span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">=====================</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> Solid type: G4Sphere</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> Parameters: </span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> inner radius:
1e-06 mm </span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> outer radius:
2.000000000000001e-05 mm </span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> starting phi
of segment : 0 degrees </span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> delta phi of
segment : 360 degrees </span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> starting theta
of segment: 0 degrees </span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> delta theta
of segment : 180 degrees </span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">------------------------------</span></span></span><wbr class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif"><span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">-----------------------------</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">-------- WWWW -------
G4Exception-START -------- WWWW -------</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">*** G4Exception
: GeomSolids1002</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif"> issued by
: G4Sphere::DistanceToOut(p,v,..</span></span></span><wbr class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif"><span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">)</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">Logic error: snxt
= kInfinity ???</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">Position:</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">p.x() = 5.106433541911882e-07
mm</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">p.y() = -7.11253374326104e-07
mm</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">p.z() = 9.224550730873363e-08
mm</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">Rp = 8.80424460864498e-07
mm</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">Direction:</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">v.x() = 0.9926097739516453</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">v.y() = -0.02063914065141685</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">v.z() = 0.1195820326338147</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">Proposed distance
:</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">snxt = 9e+99 mm</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">*** This is just
a warning message. ***</span></span></span><br class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif">
<span class="" style="color:rgb(34,34,34); font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span class="" style="font-family:Arial,Helvetica,sans-serif"><span class="" style="font-family:Arial,Helvetica,sans-serif">-------- WWWW --------
G4Exception-END --------- WWWW -------</span></span></span><br class="" style="font-family:Arial,Helvetica,sans-serif">
</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">Regards,</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px"><span class="" style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">Wonmo Sung</span></div>
</div>
</div>
</blockquote>
<blockquote type="cite" class="">
<div class=""><span class="">_______________________________________________</span><br class="">
<span class="">Gate-users mailing list</span><br class="">
<span class=""><a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a></span><br class="">
<span class=""><a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" class="" title="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
Ctrl¸µÅ©¸¦ µû¶ó°¡·Á¸é <Ctrl> Å°¸¦ ´©¸¥ ä Ŭ¸¯Çϰųª ÅÇÇϼ¼¿ä.">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></span></div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">
Gate-users mailing list<br class="">
<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a><br class="">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
</body>
</html>