#include "slepceps.h" PetscErrorCode 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 the number of eigenvalues | |
-eps_ncv <ncv> | - Sets the dimension of the subspace |
Use PETSC_DECIDE for ncv to assign a reasonably good value, which is dependent on the solution method.
Location: src/eps/interface/opts.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages