slepc-3.14.2 2021-02-01
Report Typos and Errors

# EPSKrylovSchurSetLocking

Choose between locking and non-locking variants of the Krylov-Schur method.

### Synopsis

    #include "slepceps.h"
    PetscErrorCode EPSKrylovSchurSetLocking(EPS eps,PetscBool lock)

Logically Collective on eps

### Input Parameters

| eps | - the eigenproblem solver context
| lock | - true if the locking variant must be selected

### Options Database Key

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

EPSKrylovSchurGetLocking()

Location: src/eps/impls/krylov/krylovschur/krylovschur.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages