Clear active tally lists

This commit is contained in:
Paul Romano 2017-06-22 10:49:59 -05:00
parent 48b255b559
commit efe1457589

View file

@ -138,6 +138,7 @@ contains
end if
end do
! Reset global tallies
n_realizations = 0
if (allocated(global_tallies)) then
global_tallies(:, :) = ZERO
@ -147,6 +148,17 @@ contains
k_abs_tra = ZERO
k_sum(:) = ZERO
! Turn off tally flags
tallies_on = .false.
active_batches = .false.
! Clear active tally lists
call active_analog_tallies % clear()
call active_tracklength_tallies % clear()
call active_current_tallies % clear()
call active_collision_tallies % clear()
call active_tallies % clear()
end subroutine openmc_reset
!===============================================================================