slepc-main 2024-11-09
PEPTOARSetLocking
Choose between locking and non-locking variants of the TOAR method.
Synopsis
#include "slepcpep.h"
PetscErrorCode PEPTOARSetLocking(PEP pep,PetscBool lock)
Logically Collective
Input Parameters
| pep | - the eigenproblem solver context
|
| lock | - true if the locking variant must be selected
|
Options Database Key
| -pep_toar_locking | - Sets the locking flag
|
Notes
The default is to lock converged eigenpairs when the method restarts.
This behaviour can be changed so that all directions are kept in the
working subspace even if already converged to working accuracy (the
non-locking variant).
See Also
PEPTOARGetLocking()
Level
advanced
Location
src/pep/impls/krylov/toar/ptoar.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages