mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
fixed incorrect array size when reading entropy from HDF5 file
This commit is contained in:
parent
d2ea58baf6
commit
434fc4e94e
1 changed files with 1 additions and 0 deletions
|
|
@ -1195,6 +1195,7 @@ contains
|
|||
dims(1) = restart_batch
|
||||
call h5ltread_dataset_double_f(hdf5_state_point, "k_batch", &
|
||||
k_batch(1:restart_batch), dims, hdf5_err)
|
||||
dims(1) = restart_batch*gen_per_batch
|
||||
call h5ltread_dataset_double_f(hdf5_state_point, "entropy", &
|
||||
entropy(1:restart_batch*gen_per_batch), dims, hdf5_err)
|
||||
call hdf5_read_double(hdf5_state_point, "k_col_abs", k_col_abs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue