Fixed flux tallying for case of survival biasing.

This commit is contained in:
Adam Nelson 2014-04-10 14:13:26 -04:00
parent 3ef6249f5c
commit 047e7fe3ef

View file

@ -139,7 +139,15 @@ contains
! estimator since there is no way to count 'events' exactly for
! the flux
score = last_wgt / material_xs % total
if (survival_biasing) then
! We need to account for the fact that some weight was already
! absorbed
score = last_wgt + p % absorb_wgt
else
score = last_wgt
end if
score = score / material_xs % total
case (SCORE_TOTAL)
! All events will score to the total reaction rate. We can just