mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Check that HDF5 groups are closed successfully.
This commit is contained in:
parent
b1f4597e23
commit
590df6e62d
1 changed files with 3 additions and 0 deletions
|
|
@ -236,6 +236,9 @@ contains
|
|||
integer :: hdf5_err ! HDF5 error code
|
||||
|
||||
call h5gclose_f(group_id, hdf5_err)
|
||||
if (hdf5_err < 0) then
|
||||
call fatal_error("Unable to close HDF5 group.")
|
||||
end if
|
||||
end subroutine close_group
|
||||
|
||||
!===============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue