slepc-main 2024-11-09
Report Typos and Errors

NEPSetTrackAll

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

Synopsis

#include "slepcnep.h" 
PetscErrorCode NEPSetTrackAll(NEP nep,PetscBool trackall)
Logically Collective

Input Parameters

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

Notes

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 '-nep_monitor_all' automatically activates this option.

See Also

NEPGetTrackAll()

Level

developer

Location

src/nep/interface/nepopts.c

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