Message: Re: G4Navigator::ComputeStep() warnings w/ G4Tubs & G4Polycone Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: G4Navigator::ComputeStep() warnings w/ G4Tubs & G4Polycone 

Keywords: G4Navigator::ComputeStep() WARNING G4Tubs G4Polycone G4box
Forum: Geometry
Re: Question G4Navigator::ComputeStep() warnings w/ G4Tubs & G4Polycone (Kazuyoshi Furutaka)
Date: 27 Apr, 2006
From: Kazuyoshi Furutaka <Kazuyoshi Furutaka>

Hi all,

Dr. Vladimir GRICHINE kindly suggested me to replace the
following constants used in my code to construct solids
  const G4double TwoPI                  = 3.1415926 * 2.;
  const G4double ROOT2                  = 1.4142136;
to more accurate ones
because geometry constructers are very sensitive to
accuracy of the constants.

After replacing these constants, warnings issued by
G4Navigator::ComputeStep() completely disappeared
both for G4Polycone and G4Tubs (although with G4Polycone
a warning of overlapping volume is still displayed.  As
indicated in my post in geometry/542 it should be spurious).

Lesson learned: to construct solids (especially with
axial symmetry) we have to use accurate constants such
as twopi and std::sqrt(2.).

Thanks Vladimir.


Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Re: G4Navigator::ComputeStep() warnings w/ G4Tubs & G4Polycone"

 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 ]