solve_evp Subroutine

public subroutine solve_evp(matrix_A, matrix_B, settings, omega, vr)

Main subroutine to solve the eigenvalue problem. Depending on the solvelist passed in the parfile, different solvers are called.

Warning

Throws an error if an unknown solver is passed.

Arguments

Type IntentOptional Attributes Name
type(matrix_t), intent(in) :: matrix_A

A-matrix

type(matrix_t), intent(in) :: matrix_B

B-matrix

type(settings_t), intent(inout) :: settings

settings object

complex(kind=dp), intent(out) :: omega(:)

eigenvalues

complex(kind=dp), intent(out) :: vr(:,:)

right eigenvectors