Dear Fluka experts,
I have defined a formula for the value of COMSCW in the comscw.f file, how do I get this COMSCW value? I found that the value in the bnn file obtained by USRBIN DOSE is not the same as the value printed directly. I think I’m a little confused about the scoring process.
1.Print
“COMSCW = MW*20D0
PRINT *,COMSCW”
2.Are the values in the bnn file obtained using USRBIN converted from COMSCW? How do I get this COMSCW value directly?
Dear @zcao23
You have to call the routine using the correspond card such as
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
USERWEIG 1
Then you define the weight modifying COMSCW
value in the routine file, then compile it before running.
Energy and star densities obtained via SCORE and USRBIN, and energy and stars obtained via EVENTBIN and production of residual nuclei obtained via RESNUCLEi are multiplied by the value returned by this function.
I also invite you to check this webpage to have more information about COMSCW
:
https://flukafiles.web.cern.ch/manual/chapters/user_routines/user_routines/comscw.html#comscw-f
And this one to check how to use a routine:
all the best,
Samuel