Message: Strange behaviour Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Strange behaviour 

Forum: Geometry
Date: 02 Feb, 2011
From: Nickolay Smirnov <Nickolay Smirnov>

When I try to construct a torus, I get strange behaviour. Here's a line of code, which describes it:

 G4Torus* torus = new G4Torus("torus", (2.2e+2)*cm, (2.425e+2)*cm, (2803.93e+2)*cm, 0, (5.09e-3)*rad);

And I get this, which is looks normal:


But as I try to change inner and outer radii of torus, I get this:

The corresponding line of code would be:

 G4Torus* torus = new G4Torus("torus", 2.2*cm, 2.425*cm, (2803.93e+2)*cm, 0, (5.09e-3)*rad);

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

1 Feedback: Re: Strange behaviour   (Michael H. Kelsey - 02 Feb, 2011)
 Add Message Add Message
to: "Strange behaviour"

 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 ]