Hello
in attach the source and an example data file
Note that in this example the logical unit for reading data is passed to
the source routine in the SOURCE card, ad the unit is OPENed in the input
file, for instance
**********
OPEN 99. OLD
SOURCE 99.
hsource.dat
******************
Regards
Paola
>
> Dear Fluka experts
>
> I want to define a source which has an energy spectrum.Each bin of
> energy has a certain
> probability. I've read the AdvancedSources2012.pdf and I'm trying to
> write a source
> routine as the example in the slide 30 of this pdf (Example sampling
> from a histogram)
> but I've got problems in the compilation. Could you send me an example
> of this kinf of
> source routine?In the slide 30 it says that I can have a look at the
> example
> "hsource.f", could you send me this file?
>
> thank you very much.
>
> https://www.fluka.org/free_download/course/triumf2012/Lectures/AdvancedSources2012.pdf
>
Paola Sala
INFN Milano
tel. Milano +39-0250317374
tel. CERN +41-227679148
Received on Thu May 29 2014 - 11:44:35 CEST