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. It is an
intent(in) argument.
residuals : real rank-1 array containing the residuals associated to each
eigenvalues. It is an intent(in) argument.
fname : Name of the file to save the eigenspectrum. It is an intent(in) argument.
Saves the eigenspectrum and corresponding residuals to disk use the npy binary format.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(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. |
Saves the eigenspectrum and corresponding residuals to disk use the npy binary format.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(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. |
Saves the eigenspectrum and corresponding residuals to disk use the npy binary format.
| Type | Intent | Optional | 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. |
Saves the eigenspectrum and corresponding residuals to disk use the npy binary format.
| Type | Intent | Optional | 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. |