Re: [fluka-discuss]: Minimum distance to nearest boundary

From: Chris Theis <Christian.Theis_at_cern.ch>
Date: Thu, 13 Jul 2017 09:24:02 +0000

Hi Anton,

Thanks for the info. If you could tell me the name of the intersection routine then I can implement the rest myself.

Cheers
Chris


On 13 Jul 2017, at 11:21, Anton Lechner <Anton.Lechner_at_cern.ch<mailto:Anton.Lechner_at_cern.ch>> wrote:


For a particle step - in particular for charged particle steps which are small - one often does not need an accurate value, but an approximate value can be sufficient. This approximate value can be smaller than the real minimum distance, but can give an advantage in CPU time as it can be much faster calculated than a more accurate value (which can anyway not always be obtained analytically). This distance is accessible in the variable (DDNEAR) in the common CMMDNR, but depending on the type of body, it might only be a rough estimate (smaller than the real minimum) or it is not calculated at all (in the latter case it is set to zero). If this distance zero or if it is smaller than the step length, then the geometry tracker is used to propagate the particle, but also in this case one does not need the minimum distance but one needs to determine the intersection with a surface in the particle direction (while the minimum distance can theoretically be in the opposite direction).

---------------------------------------------------------------------------------------------
Chris Theis
CERN/HSE-RP - European Organization for Nuclear Research
1211 Geneva 23, Switzerland
Phone: +41 22 767 8069 Office: 892-2A-015
e-mail: Christian.Theis_at_cern.ch<mailto:Christian.Theis_at_cern.ch> www: http://www.cern.ch/theis
---------------------------------------------------------------------------------------------



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Jul 13 2017 - 12:32:21 CEST

This archive was generated by hypermail 2.3.0 : Thu Jul 13 2017 - 12:32:22 CEST