mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Reduce in deplete.Results.save only if proc_time is not None
This commit is contained in:
parent
cb3e89bf95
commit
da23e4646d
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ class Results(object):
|
|||
results.time = t
|
||||
results.power = power
|
||||
results.proc_time = proc_time
|
||||
if step_ind and results.proc_time is not None:
|
||||
if results.proc_time is not None:
|
||||
results.proc_time = comm.reduce(proc_time, op=mpi_sum)
|
||||
|
||||
results.export_to_hdf5("depletion_results.h5", step_ind)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue