EPS_get_spectrum#

module opensg.utils.solid

opensg.utils.solid.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. :param EPS: The SLEPc solver :param V: The function space

Returns:

Tuple consisting of (List of complex converted eigenvalues,) – lists of converted eigenvectors (real part) and (imaginary part)