mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Fixed flux tallying for case of survival biasing.
This commit is contained in:
parent
3ef6249f5c
commit
047e7fe3ef
1 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue