Re: [fluka-discuss]: Add input parameters to user routine

From: Andrea Fontana <andrea.fontana_at_pv.infn.it>
Date: Thu, 24 Jan 2019 15:38:09 +0100

Dear Alexi,
      it is not possible to modify the input parameters of the users
routines, since they are called by the main function of Fluka with
the defined format. The user routines are compiled and linked to
the Fluka library, which cannot be changed.

But you could use your own common block to pass extra arguments,
perhaps defining them at the initialization stage or in the source
routine and using them when scoring.

If you do not have it already, this lecture can be useful:

https://indico.cern.ch/event/489973/contributions/2000440/attachments/1272042/1972478/09_AdvancedUserRoutines2016.pdf

Andrea

On 23/01/2019 21:42, Загороднюк Алексей А. wrote:
>
> Dear Fluka users,
>
>
> Is it possible to add more input parameters to user routines? For
> example, if i have rflctv.f user routine with only three input
> parameters (WVLNGT, OMGPHO, MMAT), can i add more input parameters in
> it? If it possible, how can it be done?
>
>
> Sincerely,
>
>
> Alexi
>

-- 
========================================================================
Dr. Andrea Fontana                    tel: +39 0382 987991
Istituto Nazionale                    fax: +39 0382 423241
di Fisica Nucleare
Sezione di Pavia                      e-mail: andrea.fontana_at_pv.infn.it
Via Bassi 6                           web   : www.pv.infn.it/~fontana
27100 PAVIA, Italy
========================================================================
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Jan 24 2019 - 16:59:39 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 24 2019 - 16:59:45 CET