Re: [fluka-discuss]: source-sample from FLNRR2

From: <me_at_marychin.org>
Date: Mon, 19 May 2014 16:46:38 -0700 (PDT)

Hi again 闫渊林,

For the sake of completeness, here I follow with a cookbook example.

In source.f:
      CALL FLNRR2 (RGAUS1,RGAUS2)
      XFLK(NPFLKA) = RGAUS1*WHASOU(1)
      YFLK(NPFLKA) = RGAUS2*WHASOU(2)
where WHASOU(1) and WHASOU(2) are user-supplied via the SOURCE card.

The above will correspond to BEAM card
      WHAT(4) = -WHASOU(1)*2.355
      WHAT(5) = -WHASOU(2)*2.355
because
* WHAT(4) and WHAT(5), when preceded by a minus sign, are the FWHM, and that
FWHM = 2.3548 sigma.
 
:) mary

> On 19 May 2014 at 07:02 闫渊林 <yanyuanlin_at_impcas.ac.cn> wrote:
>
>
>
>  Dear FLUKA experts,
>
>   I'm simulating a beam with source.f. If sample from  FLNRR2, how to set the
>Gaussian distribution FWHM like the card BEAM. Thank you!
>
>  Best Wish!
>  Yanyuanlin
>
>
>
>

 
Received on Tue May 20 2014 - 02:59:00 CEST

This archive was generated by hypermail 2.3.0 : Tue May 20 2014 - 02:59:01 CEST