Re: [fluka-discuss]: Unable to change beam direction directly in source.f

From: Santana, Mario <msantana_at_slac.stanford.edu>
Date: Tue, 19 Jan 2016 07:30:48 +0000

Hi Lars,

Regarding your source routine (which you should share if you don't want us to just speculate about what might be wrong), did you also assign DOUBLE PRECISION values to TXFLK and to TZFLK? And does the following apply: TXFLK**2+TYFLK**2+TZFLK**2 = ONEONE??

-Mario

From: <owner-fluka-discuss_at_mi.infn.it<mailto:owner-fluka-discuss_at_mi.infn.it>> on behalf of Lars Fredrik Fjæra <lfj049_at_student.uib.no<mailto:lfj049_at_student.uib.no>>
Date: Monday, January 18, 2016 at 8:35 PM
To: fluka-discuss <fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>>
Subject: [fluka-discuss]: Unable to change beam direction directly in source.f

Dear Fluka users

I'm having trouble changing the beam direction using
TXFLK (NPFLKA)
TYFLK (NPFLKA)
TZFLK (NPFLKA)
in the source routine.

If I have the source routine read the directions from BEAMPOS card in Fluka using e,g TXFLK (NPFLKA) = UBEAM, it works perfectly.
But if I try to define TXFLK (NPFLKA) as for example -1 directly in the routine, nothing happens. With nothing, I mean that the beam misses my target.

I've tried
TXFLK (NPFLKA) = -1
TXFLK (NPFLKA) = -1.0
TXFLK (NPFLKA) = -ONEONE
in hope that it should make any difference, but unfortunately not. I've also tried to remove the BEAMPOS card completely in Fluka, but the same results were achieved.
Any suggestions?

Thank you.

Best regards,
---
Lars Fredrik Fjæra
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Jan 19 2016 - 10:07:16 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 19 2016 - 10:07:18 CET