ommp_save_as_hdf5 Subroutine

public subroutine ommp_save_as_hdf5(s, filename, namespace)

Uses

    • mod_iohdf5
  • proc~~ommp_save_as_hdf5~~UsesGraph proc~ommp_save_as_hdf5 ommp_save_as_hdf5 mod_iohdf5 mod_iohdf5 proc~ommp_save_as_hdf5->mod_iohdf5

This function is an interface for saving an HDF5 file with all the data contained in mmpol module using mod_io

Arguments

Type IntentOptional Attributes Name
type(ommp_system), pointer :: s
character(len=*) :: filename
character(len=*) :: namespace

Calls

proc~~ommp_save_as_hdf5~~CallsGraph proc~ommp_save_as_hdf5 ommp_save_as_hdf5 save_system_as_hdf5 save_system_as_hdf5 proc~ommp_save_as_hdf5->save_system_as_hdf5

Contents

Source Code


Source Code

        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