mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Made sure state point creation is called from all processors in fixed source mode. Closes #108 on github.
This commit is contained in:
parent
3fe4925776
commit
45976ca6f7
1 changed files with 7 additions and 9 deletions
|
|
@ -116,18 +116,16 @@ contains
|
|||
call timer_stop(time_ic_tallies)
|
||||
|
||||
! Write out state point if it's been specified for this batch
|
||||
if (master) then
|
||||
do i = 1, n_state_points
|
||||
if (current_batch == statepoint_batch(i)) then
|
||||
do i = 1, n_state_points
|
||||
if (current_batch == statepoint_batch(i)) then
|
||||
#ifdef HDF5
|
||||
call hdf5_write_state_point()
|
||||
call hdf5_write_state_point()
|
||||
#else
|
||||
call write_state_point()
|
||||
call write_state_point()
|
||||
#endif
|
||||
exit
|
||||
end if
|
||||
end do
|
||||
end if
|
||||
exit
|
||||
end if
|
||||
end do
|
||||
|
||||
end subroutine finalize_batch
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue