Re: Mysterious code fragment

From: Anna Ferrari <anna.ferrari_at_lnf.infn.it>
Date: Mon, 12 Apr 2010 01:13:11 +0200 (CEST)

Dear Vassili,
with the SODRAW entry you can retrieve informations about the primaries.
The 'code fragment' you report refers, as it is written, to the case
of radioactive isotopes as primaries.

The three variables, that you see and that here are decoded from the stack
of the primaries (common (FLKSTK)), are:

 IARES -> Atomic weight of the radioactive nucleus
 IZRES -> Atomic number
 IISRES -> Isomer number

You can understand this if you go in the SOURCE routine, where the stack
of the primaries is loaded. If you look at the section that treats a
radioactive
isotope you find the same variables, that are defined as:

 IARES = IPROA
 IZRES = IPROZ
 IISRES = IPROM

IPROA, IPROZ and IPROM are declared in the FLUKA common (IOIOCM) (IOn-IOn
CoMmon).
There you can read the explanation:

* Iproa = the projectile mass number *
* Iproz = the projectile proton number *
* Iprom = the projectile isomer number *

Regards,

Anna

> Dear FLUKA experts,
>
> I've found the following mysterious fragment in the SODRAW entry of
> MGDRAW:
>
> * +-------------------------------------------------------------------*
> * | (Radioactive) isotope: it works only for 1 source particle on
> * | the stack for the time being
> IF ( ILOFLK (NPFLKA) .GE. 100000 .AND. LRADDC (NPFLKA) ) THEN
> IARES = MOD ( ILOFLK (NPFLKA), 100000 ) / 100
> IZRES = MOD ( ILOFLK (NPFLKA), 10000000 ) / 100000
> IISRES = ILOFLK (NPFLKA) / 10000000
>
> The variables IARES, IZRES and IISRES aren't used in MGDRAW and they
> aren't declared in FLUKA commons. What is a meaning of the code above?
>
> Regards,
>
> Vassili
>
>
>
Received on Mon Apr 12 2010 - 13:53:11 CEST

This archive was generated by hypermail 2.2.0 : Mon Apr 12 2010 - 13:53:14 CEST