read_hdf5_dense Subroutine

private subroutine read_hdf5_dense(this, filename)

Read the integrals from an hdf5 file to dense format @param[in] filename name of the file to read from

Type Bound



Type IntentOptional Attributes Name
class(dense_lMat_t), intent(inout) :: this
character(len=*), intent(in) :: filename


Source Code

Source Code

    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()
        character(*), parameter :: t_r = "read_hdf5_dense"
        if (len(filename) /= 0) continue
        call stop_all(t_r, "hdf5 support disabled at compile time")
    end subroutine read_hdf5_dense