[fluka-discuss]: isotropic sourse using fortran code

From: 李立华 <13691416247_at_ciae.ac.cn>
Date: Thu, 3 Oct 2019 17:29:20 +0800 (GMT+08:00)

Dear fluka experts:

    I want to use fortran code to write an isotropic source,the code like this:

real theta,thi

real ubeam,vbeam,wbeam

theta=flrndm(xdummy)*pi

thi=flrndm(xdummy)*2*pi

ubeam=sin(theta)*cos(thi)

vbeam=sin(theta)*sin(thi)

wbeam=cos(thi)







but this seems not work well,i hope you can help me!

best regards

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Oct 03 2019 - 12:27:53 CEST

This archive was generated by hypermail 2.3.0 : Thu Oct 03 2019 - 12:28:00 CEST