[fluka-discuss]: Divergence Sampling

From: Yuri Simeonov <yuri.simeonov_at_gmail.com>
Date: Fri, 14 Aug 2015 17:07:59 +0200

Dear Fluka Experts,

I am using the source.f Routine and trying to sample my own Gaussian
angular divergence. But somehow the results I get (1D X Profile) are
different from the one I get when I use the original Fluka without Source.f
.

I use the following code:

      Divbm_Sigma = Divbm*0.4246609D+00 *Convert from FWHM to sigma

      CALL FLNRR2 (RGAUSSDIVX,RGAUSSDIVY)
      DIV_VECTORX = RGAUSSDIVX*Divbm_Sigma
      DIV_VECTORY = RGAUSSDIVY*Divbm_Sigma

      TXFLK (NPFLKA) = DIV_VECTORX
      TYFLK (NPFLKA) = DIV_VECTORY
      TZFLK (NPFLKA) = SQRT ( ONEONE - TXFLK (NPFLKA)**2
     & - TYFLK (NPFLKA)**2 )

What am I missing?

Regards
Yuri


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Aug 14 2015 - 18:25:52 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 14 2015 - 18:25:53 CEST