Fixed bug for nuclide tallies when running in parallel.

This commit is contained in:
Paul Romano 2012-07-30 16:05:07 -04:00
parent a2f6350658
commit a49dc3b281
2 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ contains
subroutine initialize_batch()
message = "Simulating batch " // trim(to_str(current_batch)) // "..."
call write_message()
call write_message(1)
! Reset total starting particle weight used for normalizing tallies
total_weight = ZERO

View file

@ -1661,7 +1661,7 @@ contains
do i = 1, n_tallies
t => tallies(i)
m = t % n_score_bins
m = t % n_score_bins * t % n_nuclide_bins
n = t % n_total_bins
n_bins = m*n
@ -1743,7 +1743,7 @@ contains
do i = 1, n_tallies
t => tallies(i)
m = t % n_score_bins
m = t % n_score_bins * t % n_nuclide_bins
n = t % n_total_bins
n_bins = m*n*2