slepc-3.22.2 2024-12-02
Report Typos and Errors

NEPNLEIGSSetLocking

Choose between locking and non-locking variants of the NLEIGS method.

Synopsis

#include "slepcnep.h" 
PetscErrorCode NEPNLEIGSSetLocking(NEP nep,PetscBool lock)
Logically Collective

Input Parameters

nep  - the nonlinear eigensolver context
lock  - true if the locking variant must be selected

Options Database Key

-nep_nleigs_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

NEPNLEIGSGetLocking()

Level

advanced

Location

src/nep/impls/nleigs/nleigs.c

Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages