#include "slepceps.h" int EPSSetDimensions(EPS eps,int nev,int ncv)Collective on EPS
eps | - the eigensolver context | |
nev | - number of eigenvalues to compute | |
ncv | - the maximum dimension of the subspace to be used by the solver |
-eps_nev <nev> | - Sets nev | |
-eps_ncv <ncv> | - Sets ncv |
Use PETSC_DECIDE for ncv to assign a reasonably good value, which is dependent of the solution method.
Level:intermediate
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages