save_eigenspectrum_rdp Module Procedure

module procedure save_eigenspectrum_rdp private module subroutine save_eigenspectrum_rdp(lambda, residuals, fname)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: lambda(:)

Eigenalues.

real(kind=dp), intent(in) :: residuals(:)

Residual of the corresponding Ritz eigenpairs.

character(len=*), intent(in) :: fname

Name of the output file.


Source Code

        module subroutine save_eigenspectrum_rdp(lambda, residuals, fname)
            !! Saves the eigenspectrum and corresponding residuals to disk use the `npy` binary format.
            implicit none(type, external)
            real(dp), intent(in) :: lambda(:)
            !! Eigenalues.
            real(dp), intent(in) :: residuals(:)
            !! Residual of the corresponding Ritz eigenpairs.
            character(len=*), intent(in) :: fname
            !! Name of the output file.
        end subroutine save_eigenspectrum_rdp