This function is an interface for saving an HDF5 file with all the data contained in mmpol module using mod_io
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ommp_system), | pointer | :: | s | |||
character(len=*) | :: | filename | ||||
character(len=*) | :: | namespace |
subroutine ommp_save_as_hdf5(s, filename, namespace)
!! This function is an interface for saving an HDF5 file
!! with all the data contained in mmpol module using
!! [[mod_io:mmpol_save_as_hdf5]]
use mod_iohdf5, only: save_system_as_hdf5
implicit none
character(len=*) :: filename, namespace
type(ommp_system), pointer :: s
integer(kind=4) :: err
call save_system_as_hdf5(filename, &
s, &
err, &
namespace, &
logical(.false., kind=ommp_logical))
end subroutine ommp_save_as_hdf5