Message: Re: Uniform Source in Volume Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Uniform Source in Volume 

Forum: Particles
Re: Question Uniform Source in Volume (Joel Long)
Date: 24 Jun, 2011
From: Joel Long <Joel Long>

I decided it would probably be faster to just pull up the code and check myself than to get an answer here. The answer to my question was that yes, you *do* need to specify all that stuff along with confining to a volume - the confine just tells it to check if the point is in the volume after it is generated, and generates a new point if it is not. So, with source confinement, you don't have to get your specifications *exact*, so long as they cover the whole volume you actually want to generate points in.

While checking this, however, another question arose. At a glance, it looked like cylindrical volume sources were required to be parallel to the z-axis. Is this correct?

Thanks, Joel

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

1 Feedback: Re: Uniform Source in Volume   (Gumplinger Peter - 24 Jun, 2011)
 Add Message Add Message
to: "Re: Uniform Source in Volume"

 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 ]