slepc-3.17.2 2022-08-09
Report Typos and Errors


Specify a basis of vectors that constitute the deflation space.


#include "slepceps.h" 
PetscErrorCode EPSSetDeflationSpace(EPS eps,PetscInt n,Vec v[])
Collective on eps

Input Parameters

eps  - the eigenproblem solver context
n  - number of vectors
v  - set of basis vectors of the deflation space


When a deflation space is given, the eigensolver seeks the eigensolution in the restriction of the problem to the orthogonal complement of this space. This can be used for instance in the case that an invariant subspace is known beforehand (such as the nullspace of the matrix).

These vectors do not persist from one EPSSolve() call to the other, so the deflation space should be set every time.

The vectors do not need to be mutually orthonormal, since they are explicitly orthonormalized internally.

See Also


Location: src/eps/interface/epssetup.c



Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages