Message: Re: Infinite Loop in G4SubtractionSolid::DistanceToIn() Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Ok Re: Infinite Loop in G4SubtractionSolid::DistanceToIn() 

Forum: Geometry
Re: Question Infinite Loop in G4SubtractionSolid::DistanceToIn() (Stefan E. Mueller)
Date: 10 Mar, 2016
From: Stefan E. Mueller <Stefan E. Mueller>

Dear all,

it turned out finally that the problem was not due to the geometry, but due to a missing protection in, which made an std::acos(..) function go crazy about a value being slightly larger than "1.00000000....".

A fix has been provided by Jeremy Brown from the GEANT4 collaboration, which should close the issue.

Thanks to everybody who contributed in the solution to this problem,


 Add Message Add Message
to: "Re: Infinite Loop in G4SubtractionSolid::DistanceToIn()"

 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 ]