tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
tblite_io_numpy_save::save_npy Interface Reference

Public Member Functions

subroutine save_npy_i4_r1 (filename, array, iostat, iomsg)
 Save 1-dimensional array in npy format.
 
subroutine save_npy_rdp_r1 (filename, array, iostat, iomsg)
 Save 1-dimensional array in npy format.
 
subroutine save_npy_rdp_r2 (filename, array, iostat, iomsg)
 Save 2-dimensional array in npy format.
 
subroutine save_npy_rdp_r3 (filename, array, iostat, iomsg)
 Save 3-dimensional array in npy format.
 

Member Function/Subroutine Documentation

◆ save_npy_i4_r1()

subroutine tblite_io_numpy_save::save_npy::save_npy_i4_r1 ( character(len=*), intent(in) filename,
integer(i4), dimension(:), intent(in) array,
integer, intent(out), optional iostat,
character(len=:), intent(out), optional, allocatable iomsg )

Save 1-dimensional array in npy format.

Parameters
[in]filenameName of the npy file to load from
[in]arrayArray to be loaded from the npy file
[out]iostatError status of loading, zero on success
[out]iomsgAssociated error message in case of non-zero status code

◆ save_npy_rdp_r1()

subroutine tblite_io_numpy_save::save_npy::save_npy_rdp_r1 ( character(len=*), intent(in) filename,
real(dp), dimension(:), intent(in) array,
integer, intent(out), optional iostat,
character(len=:), intent(out), optional, allocatable iomsg )

Save 1-dimensional array in npy format.

Parameters
[in]filenameName of the npy file to load from
[in]arrayArray to be loaded from the npy file
[out]iostatError status of loading, zero on success
[out]iomsgAssociated error message in case of non-zero status code

◆ save_npy_rdp_r2()

subroutine tblite_io_numpy_save::save_npy::save_npy_rdp_r2 ( character(len=*), intent(in) filename,
real(dp), dimension(:, :), intent(in) array,
integer, intent(out), optional iostat,
character(len=:), intent(out), optional, allocatable iomsg )

Save 2-dimensional array in npy format.

Parameters
[in]filenameName of the npy file to load from
[in]arrayArray to be loaded from the npy file
[out]iostatError status of loading, zero on success
[out]iomsgAssociated error message in case of non-zero status code

◆ save_npy_rdp_r3()

subroutine tblite_io_numpy_save::save_npy::save_npy_rdp_r3 ( character(len=*), intent(in) filename,
real(dp), dimension(:, :, :), intent(in) array,
integer, intent(out), optional iostat,
character(len=:), intent(out), optional, allocatable iomsg )

Save 3-dimensional array in npy format.

Parameters
[in]filenameName of the npy file to load from
[in]arrayArray to be loaded from the npy file
[out]iostatError status of loading, zero on success
[out]iomsgAssociated error message in case of non-zero status code

The documentation for this interface was generated from the following file: