[fluka-discuss]: About user routine:how to define the energy distribution of part icles in source.f

From: 2013200577 <2013200577_at_grad.buct.edu.cn>
Date: Wed, 13 May 2015 19:12:05 +0800

 Hi ,everyone !
 Here is my question: I define the energy distribution of particles by sampling from a Gaussian distrbution,but there seems to be some error,who can help me find it?Thank you very much.
 
 
 
 
 
       REAL RGAUSS=0.0
       CALL FLNRRN (RGAUSS)
       ENSAMP=RGAUSS
       TKEFLK (NPFLKA) = ENSAMP
       PMOFLK (NPFLKA) = SQRT (ENSAMP * (ENSAMP + TWOTWO * AM(IJBEAM)))





__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

Received on Wed May 13 2015 - 14:29:16 CEST

This archive was generated by hypermail 2.3.0 : Wed May 13 2015 - 14:29:17 CEST