#include "slepcqep.h" PetscErrorCode QEPSetDimensions(QEP qep,PetscInt nev,PetscInt ncv,PetscInt mpd)Logically Collective on QEP
qep | - the quadratic eigensolver context | |
nev | - number of eigenvalues to compute | |
ncv | - the maximum dimension of the subspace to be used by the solver | |
mpd | - the maximum dimension allowed for the projected problem |
-qep_nev <nev> | - Sets the number of eigenvalues | |
-qep_ncv <ncv> | - Sets the dimension of the subspace | |
-qep_mpd <mpd> | - Sets the maximum projected dimension |
Use PETSC_DECIDE for ncv and mpd to assign a reasonably good value, which is dependent on the solution method.
The parameters ncv and mpd are intimately related, so that the user is advised
The value of ncv should always be between nev and (nev+mpd), typically ncv=nev+mpd. If nev is not too large, mpd=nev is a reasonable choice, otherwise a smaller value should be used.
Location: src/qep/interface/qepopts.c
Index of all QEP routines
Table of Contents for all manual pages
Index of all manual pages