Re: FLNRN2/FLNRR2 random number generator

From: <Andrea.Mairani_at_mi.infn.it>
Date: Wed, 12 Sep 2012 08:59:48 +0200 (CEST)

Hi,
Yes it is a typo, you should use

CALL FLNRR2 (RGAUS1, RGAUS2)

(http://www.fluka.org/fluka.php?id=faq&sub=4)

Regards,
Andrea

> Hi everyone,
>
> I just tried to use one of Fluka's built-in random number functions to
> generate two normally distributed random numbers in a custom SOURCE
> routine. In the FAQ on fluka.org it says:
>
> CALL FLNRN2(RGAUS1,RGAUS2) [...] returns two independent normal gaussian
> numbers RGAUS1 and RGAUS2
>
> The linker does not find the function. It does find FLNRR2, however,
> which seems to do exactly what it should. Is this just a typo in the FAQ
> or is there something more to the story?
>
> Regards,
> Lars
>
>
Received on Thu Sep 13 2012 - 15:20:34 CEST

This archive was generated by hypermail 2.2.0 : Thu Sep 13 2012 - 15:20:47 CEST