[fluka-discuss]: sample discrete energies using SOURCE routine

From: Chiriotti Alvarez Sabina <sabina.chiriotti.alvarez_at_sckcen.be>
Date: Thu, 24 Nov 2016 12:59:56 +0000

Dear FLUKA experts,

I would like to define an electron source which has a discrete energy spectrum (each bin of energy has a certain probability).
The sampling is done using a cumulative spectrum and interpolating between the discrete energies but

I have tried to do the sampling following the examples from FLUKA discussion list but I still do not get the same results if I do 15 independent simulations (the number for energies) and I combine the output with each electron probability. What I get is that the sampling is done with an interpolation between the discrete energies and I would like to simulate only the energies of the electron spectrum.
How can I remove the interpolation between discrete energies and sample the energies of the spectrum with their respective probability?

Please find in attachment the routine source, the spectrum and the input file.

Thank you in advance for your help.

Kind regards,
Sabina

-------------

Belgian Nuclear Research Centre, SCK-CEN
Environment, Health and Safety
Radiation protection, Dosimetry and Calibration
Boeretang 200,
2400, Mol, Belgium
tel: + 32 014 33 28 89



SCKā€¢CEN Disclaimer: http://www.sckcen.be/en/e-mail_disclaimer



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

Received on Thu Nov 24 2016 - 15:45:57 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 24 2016 - 15:46:02 CET