FLUKA version number
With FLUKA 2024 it is now possible to get the version number from a common block. It is now saved in C7, could be nice in C8 : include file to use : (FLKAVR) content of the file :
*=== Flkavr ===========================================================*
*
*----------------------------------------------------------------------*
* *
* Copyright (C) 2024-2024 by Alfredo Ferrari & Paola Sala *
* All Rights Reserved. *
* *
* FLuKA VeRsion: *
* *
* Authors: Alfredo Ferrari & Paola Sala *
* *
* *
* Created on 28 April 2024 by Alfredo Ferrari & Paola Sala *
* Private Private *
* *
* Last change on 28-Apr-24 by Alfredo Ferrari *
* Private *
* *
* Description of variables: *
* *
* Mjflvr = Major Fluka version number *
* Mnflvr = Minor Fluka version number *
* Mrflvr = Respin Fluka version number *
* Chflvr = Patch Fluka version letter (optional) *
* *
* Fluka version: *
* *
* FLUKA<Mjflvr>.<Mnflvr>[Chflvr].<<Mrflvr *
* *
*----------------------------------------------------------------------*
*
INTEGER MJFLVR, MNFLVR, MRFLVR
CHARACTER*1 CHFLVR
COMMON / FLKAVR / MJFLVR, MNFLVR, MRFLVR
*
COMMON / FLKAVC / CHFLVR
*
SAVE / FLKAVR /, / FLKAVC /
Edited by Tanguy Pierog