mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Increase n_realizations on all processors.
This commit is contained in:
parent
f9c03c8ecb
commit
31572c03fa
1 changed files with 7 additions and 7 deletions
|
|
@ -1621,14 +1621,14 @@ contains
|
|||
if (reduce_tallies) call reduce_tally_values()
|
||||
#endif
|
||||
|
||||
if (master .or. (.not. reduce_tallies)) then
|
||||
! Increase number of realizations
|
||||
if (reduce_tallies) then
|
||||
n_realizations = n_realizations + 1
|
||||
else
|
||||
n_realizations = n_realizations + n_procs
|
||||
end if
|
||||
! Increase number of realizations
|
||||
if (reduce_tallies) then
|
||||
n_realizations = n_realizations + 1
|
||||
else
|
||||
n_realizations = n_realizations + n_procs
|
||||
end if
|
||||
|
||||
if (master .or. (.not. reduce_tallies)) then
|
||||
! Accumulate scores for each tally
|
||||
do i = 1, n_tallies
|
||||
call accumulate_score(tallies(i) % scores)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue