save_eigenspectrum_rsp Module Procedure

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

Arguments

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

Eigenalues.

real(kind=sp), 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_rsp(lambda, residuals, fname)
            !! Saves the eigenspectrum and corresponding residuals to disk use the `npy` binary format.
            implicit none(type, external)
            real(sp), intent(in) :: lambda(:)
            !! Eigenalues.
            real(sp), intent(in) :: residuals(:)
            !! Residual of the corresponding Ritz eigenpairs.
            character(len=*), intent(in) :: fname
            !! Name of the output file.
        end subroutine save_eigenspectrum_rsp