tblite
Light-weight tight-binding framework
|
Implementation of npy input routines. More...
Data Types | |
interface | load_npz |
Interface for loading npz files. More... | |
Functions/Subroutines | |
subroutine, public | get_npz_descriptor (filename, varname, vtype, vshape, iostat, iomsg) |
Get numpy array descriptor from a npz file. | |
Implementation of npy input routines.
subroutine, public tblite_io_numpy_loadz::get_npz_descriptor | ( | character(len=*), intent(in) | filename, |
character(len=*), intent(in) | varname, | ||
character(len=:), intent(out), allocatable | vtype, | ||
integer, dimension(:), intent(out), allocatable | vshape, | ||
integer, intent(out), optional | iostat, | ||
character(len=:), intent(out), optional, allocatable | iomsg ) |
Get numpy array descriptor from a npz file.
[in] | filename | Filename of the npz file |
[in] | varname | Name of the variable to load |
[out] | vtype | Variable type of the numpy array |
[out] | vshape | Variable shape of the numpy array |
[out] | iostat | Status of the read operation |
[out] | iomsg | Error message in case of failure |