EGSnrc
EGSnrc copied to clipboard
egs_fluence_scoring: Fix several bugs
- Total fluence normalization bug during output:
norm /= volume[k];
reduces normalization for $ \Phi[k]
$ by $V[k-1]*V[k-2]*...*V[1]
$
changed to
norm = norma/volume[k];
-
Fix issue #1002
-
Read user-requested normalization not only when differential fluence requested as it is also needed for integral fluence
That is great, I encountered an issue with fluence normalization recently. I bet this solves it, will check.
That is great, I encountered an issue with fluence normalization recently. I bet this solves it, will check.
Can't believe these "fixes" were already made last Summer! Time flies when one is having fun!
Fellas, could we take a stab at this PR? Pretty please?