Re: [fluka-discuss]: Q: how to get number of events from *.inp file in a program ?

From: Giuseppe Battistoni <giuseppe.battistoni_at_mi.infn.it>
Date: Sat, 9 May 2020 12:35:21 +0200

Yes. The number of primaries given in the START card is contained in a
variable named NCASES, which is made available by the CASLIM common
block, included by the instruction INCLUDE '(CASLIM)' that you see in
the various declarations at the beginning of mgdraw.f

Notice that there is a very similar variable, named NCASE, which instead
contains the current event number.

There is a description of all variables of CASLIM common that you can
look at while scrolling the include file in $FLUPRO/flukapro/(CASLIM)

Giuseppe Battistoni

On 09/05/2020 11:57, babintsev wrote:
> Dear experts,
>
> is it possible to get number of events given in
>
> the card : START     inside the program: mgdraw
>
> thanks,
>
> Vladimir
>
>
>
> __________________________________________________________________________
>
> You can manage unsubscription from this mailing list at
> https://www.fluka.org/fluka.php?id=acc_info

-- 
INFN TIFPA
via Sommarive 14, 38123 Povo, Trento
tel: +39 0461 283294
INFN Sezione di Milano
via Celoria 16, 20133 Milano
tel: +39 02 50317307
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Sat May 09 2020 - 13:48:08 CEST

This archive was generated by hypermail 2.3.0 : Sat May 09 2020 - 13:48:12 CEST