EPSGetSolution

Gets the location of the solution of the eigenproblem which has already been solved. The solution consists in both the eigenvalues and the eigenvectors (if available).

Synopsis

#include "slepceps.h" 
int EPSGetSolution(EPS eps, PetscScalar **eigr, PetscScalar **eigi, Vec **V)
Not Collective

Input Parameter

eps -eigensolver context obtained from EPSCreate()

Output Parameters

eigr - real part of eigenvalues
eigi - imaginary part of eigenvalues
V - eigenvectors

Notes

In the complex case (PETSC_USE_COMPLEX) the eigenvalues are stored in eigr and eigi is set to zero.

In the real case, complex eigenvectors are stored in two consecutive vectors of V containing the real and imaginary parts, respectively.

Level:beginner
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages