EPSKrylovSchurSetDimensions#
Sets the dimensions used for each subsolve step in case of doing spectrum slicing for a computational interval. The meaning of the parameters is the same as in EPSSetDimensions().
Synopsis#
#include "slepceps.h"
PetscErrorCode EPSKrylovSchurSetDimensions(EPS eps,PetscInt nev,PetscInt ncv,PetscInt mpd)
Logically Collective
Input Parameters#
eps - the eigenproblem solver context
nev - number of eigenvalues to compute
ncv - the maximum dimension of the subspace to be used by the subsolve
mpd - the maximum dimension allowed for the projected problem
Options Database Key#
-eps_krylovschur_nev
- Sets the number of eigenvalues-eps_krylovschur_ncv
- Sets the dimension of the subspace-eps_krylovschur_mpd
- Sets the maximum projected dimension
Note#
Use PETSC_DETERMINE for ncv and mpd to assign a default value. For any of the arguments, use PETSC_CURRENT to preserve the current value.
See Also#
EPSKrylovSchurGetDimensions()
, EPSSetDimensions()
, EPSSetInterval()
Level#
advanced
Location#
Implementations#
EPSKrylovSchurSetDimensions_KrylovSchur() in src/eps/impls/krylov/krylovschur/krylovschur.c
Index of all EPS routines Table of Contents for all manual pages Index of all manual pages