EPS_get_spectrum#
module opensg.utils.eigenvalue_solver
- opensg.utils.eigenvalue_solver.EPS_get_spectrum(EPS: slepc4py.SLEPc.EPS, V: dolfinx.fem.FunctionSpace) Tuple[List[complex], List[petsc4py.PETSc.Vec], List[petsc4py.PETSc.Vec]] #
Retrieve eigenvalues and eigenfunctions from SLEPc EPS object.
- Parameters:
EPS (SLEPc.EPS) – The SLEPc solver
V (FunctionSpace) – The function space
- Returns:
tuple – Tuple consisting of: List of complex converted eigenvalues, lists of converted eigenvectors (real part) and (imaginary part)