You can use the string of characters in the SDUM card of your usrbin card
(TITUSB) to establish an IF THEN condition within fluscw.f
e.g.
CSET = TITUB(JSCRNG)
IF (CSET(1:3).eq.'GRN') THEN
...
ELSE
...
END IF
JSCRNG points at the binning number
In that case you'd need to make sure that fluscw has the "INCLUDE '(USRBIN)'"
-----Original Message-----
From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it=
] On Behalf Of Sanchez Parcerisa, Daniel
Sent: Monday, October 17, 2011 7:23 AM
To: fluka-discuss_at_fluka.org
Subject: conditional scoring with FLUSCW using a flag in input file
Hello,
I am using FLUSCW for some user-defined fluence scoring problem. I would li=
ke
to choose at run time between two possible modes of scoring using a flag in
the input file (in the same way that the source.f routine can be controlled=
by the WHASOU(i)
user variables, but I can't find a way to do it, since the WHASOU(i) variab=
les aren't seen
from the FLUSCW routine (even including SOURCM commons).
Are there some user variables that can be read from the input file and pass=
ed on to FLUSCW?
Thank you very much
Daniel Sanchez Parcerisa
PARTNER Early Stage Researcher
Siemens AG
Healthcare Sector
Imaging & IT Division
H IM PT OP TI
Hofmannstr. 26
91052 Erlangen, Germany
Received on Tue Oct 18 2011 - 09:29:14 CEST
This archive was generated by hypermail 2.2.0 : Tue Oct 18 2011 - 09:29:14 CEST