Message: Re: Logic error: snxt = kInfinity ??? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Logic error: snxt = kInfinity ??? 

Forum: Geometry
Re: Question Logic error: snxt = kInfinity ??? (Maddalena Antonello)
Date: 07 Dec, 2007
From: John Apostolakis <John Apostolakis>

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
> geant4.4.9.0 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:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Re: Logic error: snxt = kInfinity ???"

 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 ]