#include "petscksp.h" PetscErrorCode KSPComputeEigenvalues(KSP ksp,PetscInt n,PetscReal r[],PetscReal c[],PetscInt *neig)Not Collective
ksp | - iterative context obtained from KSPCreate() | |
n | - size of arrays r and c. The number of eigenvalues computed (neig) will, in general, be less than this. |
r | - real part of computed eigenvalues, provided by user with a dimension of at least n | |
c | - complex part of computed eigenvalues, provided by user with a dimension of at least n | |
neig | - actual number of eigenvalues computed (will be less than or equal to n) |
-ksp_view_eigenvalues | - Prints eigenvalues to stdout |