Message: Confine command in GPS Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Confine command in GPS 

Keywords: confine error source
Forum: Particles
Date: 23 May, 2007
From: Justin Dingley <>

I recently tried to use the /gps/pos/confine command to create a uniformly
distributed source. I received the following error:

LoopCount = 100000
Either the source distribution >> confinement
or any confining volume may not overlap with
the source distribution or any confining volumes
may not exist
If you have set confine then this will be ignored
for this event.

even though I knew my source was well contained within the volume.
There have been questions in the forum about this error, but no answer 
was given.
The solution to my particular case was to include the /gps/pos/centre 
command- even though the confinement volume was at 0,0,0  and the default
gps center is also at 0,0,0 , this error occurs unless the center 
is explicitly defined.

I assume its just a peculiarity of the code.


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

1 None: Re: Confine command in GPS   (Parimalah - 25 Nov, 2015)
 Add Message Add Message
to: "Confine command in GPS"

 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 ]