mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Always reshape depletion process time dataset
The conditional to reshape/extend the "depletion time" dataset in the exporting of a deplete.Results object has been removed. This caused the last exporting to hang when running with MPI
This commit is contained in:
parent
e291725b6b
commit
cb3e89bf95
1 changed files with 3 additions and 4 deletions
|
|
@ -304,10 +304,9 @@ class Results(object):
|
|||
|
||||
# keep depletion time matrix with one less index
|
||||
# corresponding to one fewer calculation
|
||||
if self.proc_time:
|
||||
proc_shape = list(proc_time_dset.shape)
|
||||
proc_shape[0] = new_shape - 1
|
||||
proc_time_dset.resize(proc_shape)
|
||||
proc_shape = list(proc_time_dset.shape)
|
||||
proc_shape[0] = new_shape - 1
|
||||
proc_time_dset.resize(proc_shape)
|
||||
|
||||
# If nothing to write, just return
|
||||
if len(self.mat_to_ind) == 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue