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

SVDTRLanczosSetLocking

Choose between locking and non-locking variants of the thick-restart Lanczos method.

Synopsis

#include "slepcsvd.h" 
PetscErrorCode SVDTRLanczosSetLocking(SVD svd,PetscBool lock)
Logically Collective

Input Parameters

svd  - the singular value solver
lock  - true if the locking variant must be selected

Options Database Key

-svd_trlanczos_locking  - Sets the locking flag

Notes

The default is to lock converged singular triplets 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

SVDTRLanczosGetLocking()

Level

advanced

Location

src/svd/impls/trlanczos/trlanczos.c

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