slepc-3.7.3 2016-09-29
Report Typos and Errors

# PEPSTOARSetLocking

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

### Synopsis

    #include "slepcpep.h"
    PetscErrorCode PEPSTOARSetLocking(PEP pep,PetscBool lock)

Logically Collective on PEP

### Input Parameters

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

### Options Database Key

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

PEPSTOARGetLocking()

Location: src/pep/impls/krylov/stoar/stoar.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages