[fluka-discuss]: GAUSSIAN RANDOM SAMPLING

From: <riyadey_at_barc.gov.in>
Date: Tue, 16 Jan 2018 16:56:57 +0530

Dear Experts,

I was using Gaussian random numbers by calling FLNRRN(RGAUSS)and then I
put y = RGAUSS. Suppose I am running the program for 1000(lets say)
histories, and after printing y values,I get 1000 points which are
having Gaussian distribution. Now I want to declare each point as y
coordinate. So, to do this I define y = YFLK(NPFLKA).
This time the program is not running.

Please help me to fix this issue.

* particle coordinates

CALL FLNRRN(RGAUSS)
x =100
y= RGAUSS+100.0
z= RGAUSS+200.0
XFLK (NPFLKA)=x
YFLK (NPFLKA)=y
ZFLK (NPFLKA)=z
WRITE(*,*)XFLK (NPFLKA),YFLK (NPFLKA),ZFLK (NPFLKA)


With regards,
Riya Dey

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Jan 16 2018 - 14:00:41 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 16 2018 - 14:00:43 CET