slepc-3.20.2 2024-03-15
Report Typos and Errors

PEPJDSetRestart

Sets the restart parameter for the Jacobi-Davidson method, in particular the proportion of basis vectors that must be kept after restart.

Synopsis

#include "slepcpep.h" 
PetscErrorCode PEPJDSetRestart(PEP pep,PetscReal keep)
Logically Collective

Input Parameters

pep  - the eigenproblem solver context
keep  - the number of vectors to be kept at restart

Options Database Key

-pep_jd_restart  - Sets the restart parameter

Notes

Allowed values are in the range [0.1,0.9]. The default is 0.5.

See Also

PEPJDGetRestart()

Level

advanced

Location

src/pep/impls/jd/pjd.c

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