save_eigenspectrum Interface

public interface save_eigenspectrum

Description

Utility function to save the eigenspectrum computed from the Arnoldi factorization. It outpost a .npy file.

Syntax

    call save_eigenspectrum(eigvals, residuals, fname)

Arguments

eigvals : complex rank-1 array containing the eigenvalues.

residuals : real rank-1 array containing the residuals associated to each eigenvalues.

fname : Name of the file to save the eigenspectrum.


Module Procedures

private subroutine save_eigenspectrum_sp(eigvals, residuals, fname)

Saves the eigenspectrum and corresponding residuals to disk use the npy binary format.

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: eigvals(:)

Eigenalues.

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

Residual of the corresponding Ritz eigenpairs.

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

Name of the output file.

private subroutine save_eigenspectrum_dp(eigvals, residuals, fname)

Saves the eigenspectrum and corresponding residuals to disk use the npy binary format.

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: eigvals(:)

Eigenalues.

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

Residual of the corresponding Ritz eigenpairs.

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

Name of the output file.