Utility function to save the eigenspectrum computed from the Arnoldi factorization. It outpost a .npy file.
call save_eigenspectrum(eigvals, residuals, fname)
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.
Saves the eigenspectrum and corresponding residuals to disk use the npy
binary format.
Type | Intent | Optional | 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. |
Saves the eigenspectrum and corresponding residuals to disk use the npy
binary format.
Type | Intent | Optional | 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. |