slepc-3.16.0 2021-09-30
Report Typos and Errors


Specifies if the solver must compute the residual of all approximate eigenpairs or not.


#include "slepcpep.h" 
PetscErrorCode PEPSetTrackAll(PEP pep,PetscBool trackall)
Logically Collective on pep

Input Parameters

pep  - the eigensolver context
trackall  - whether compute all residuals or not


If the user sets trackall=PETSC_TRUE then the solver explicitly computes the residual for each eigenpair approximation. Computing the residual is usually an expensive operation and solvers commonly compute the associated residual to the first unconverged eigenpair.

The option '-pep_monitor_all' automatically activates this option.

See Also


Location: src/pep/interface/pepopts.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages