|Message: Re: Logic error: snxt = kInfinity ???||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Dear Maddalena, From the information that you provide it is difficult to understand the cause of the problem. Likely there is a problem with the geometry, since the solid reports that the position was very far away: all the components of the position 'p' are of order 10^26 mm. The lines that you print below are not the ones that report the problem - they simply report where this solid was called. Could you please give the lines above this message, which report the problem? Also what is the complexity of your setup, how many and what types of volumes does it contain ? How often do you get warnings or errors (which presumably also report the information below?) Do you use many simple (CSG) solids in your setup or boolean solids ? One small thing: we espect users to use boxes as the world volume, to simplify things - is it correct that this sphere is your world volume? If so I suggest to change it. Best regards, John Apostolakis Maddalena Antonello wrote: > *** Discussion title: Geometry > Email replies to PublicHyperNews@slac.stanford.edu must include: > In-Reply-To: <"/geometry/822"@geant4-hn.slac.stanford.edu> > Subject: ...change this to be about your reply. > > Dear G4 experts, > > I have imported my Detector CAD geometry into my G4 application. I have > translated the original STEP file into gdml format using the FASTRAD > software with the highest available resolution. I had to use this high > resolution in order to obtain reliable shapes. I compiled with > geant220.127.116.11 patch 01. > > When I run my simulation I get many times the message reported > hereafter: > > ----------------------------------------------------------- > *** Dump for solid - worldSphereRef *** > =================================================== > Solid type: G4Sphere > Parameters: > inner radius: 0 mm > outer radius: 1650.3758 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 > ----------------------------------------------------------- > Position: > > p.x() = 4.5019786721838578e+26 mm p.y() = -1.3689321005863043e+27 mm > p.z() = -8.949937149591218e+26 mm > > Rp = 1.6963687586960401e+27 mm > > Direction: > > v.x() = 0.51668856815856656 v.y() = -0.30673219327495344 v.z() = > 0.79934240794729927 > > Proposed distance : > > snxt = 8.9999999999999999e+99 mm > > *** G4Exception : Notification > issued by : G4Sphere::DistanceToOut(p,v,..) > Logic error: snxt = kInfinity ??? > *** This is just a warning message. > _______________________________________________________ > > I've also tried to set the tolerance relatively to my World Maximum > Extent using > G4GeometryManager::GetInstance()->SetWorldMaximumExtent(WorldExtent); > > before constructing any geometry, but it had no effect. > > Does somebody know how I could solve the problem? > > Thank you > > Maddalena >
|Inline Depth:||Outline Depth:||Add message:|