Read the integrals from an hdf5 file to dense format @param[in] filename name of the file to read from
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dense_lMat_t), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | filename |
subroutine read_hdf5_dense(this, filename)
class(dense_lMat_t), intent(inout) :: this
character(*), intent(in) :: filename
#ifdef USE_HDF_
type(lMat_hdf5_read_t) :: reader
integer(hsize_t) :: nInts
call reader%open(filename, nInts)
call reader%loop_file(this)
call reader%close()
#else
character(*), parameter :: t_r = "read_hdf5_dense"
unused_var(this)
if (len(filename) /= 0) continue
call stop_all(t_r, "hdf5 support disabled at compile time")
#endif
end subroutine read_hdf5_dense