I am using the FLURZ code. In AUSGAB there is a large section of code following an IF (IARG < 5) statement. I want to investigate particles that fall under IARG statements 1 or 2… but it seems that they are never handled. Only IARG = 0 (when particles are about to be transported through a step) events are handled.
When, or where, can I find these ‘about to be discarded’ particles?
If you can’t find anything explicit in the code, that means you’ll need to handle those IARG calls yourself and write some Mortran…
LikeLike
Marc Chamberland I’ve written some OUTPUT lines for interactive ‘real-time’ checking, and it seems that IARGs 1, 2, 3, and 4 are never called while inside the IF (IARG < 5) section of code. If I've written them correctly, and in the right spots, why aren't they being called?
Something has to happen to the particle once it falls below AE or ECUT… but I can’t figure out where FLURZ handles that.
LikeLike
Matthew Efseaff Hmm… I’m not super familiar with Mortran applications. In egs++ applications, in the initialization, you need to explicitly set for which IARG values ausgab() will be called. Maybe there’s something similar in Mortran applications?
LikeLike
Matthew Efseaff This looks relevant to you: https://github.com/nrc-cnrc/EGSnrc/blob/master/HEN_HOUSE/user_codes/flurznrc/flurznrc.mortran#L2218
LikeLike
Marc Chamberland Wonderful Marc, thanks for finding that!
LikeLike