EGSnrc icon indicating copy to clipboard operation
EGSnrc copied to clipboard

egs_fluence_scoring: Fix several bugs

Open mainegra opened this issue 11 months ago • 2 comments

  • 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

mainegra avatar Mar 11 '24 13:03 mainegra

That is great, I encountered an issue with fluence normalization recently. I bet this solves it, will check.

ftessier avatar Mar 11 '24 16:03 ftessier

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!

mainegra avatar Mar 12 '24 15:03 mainegra

Fellas, could we take a stab at this PR? Pretty please?

mainegra avatar Sep 10 '24 18:09 mainegra