slepc-3.7.4 2017-05-17
Report Typos and Errors

NEPNLEIGSSetTrueResidual

Specifies if the solver must compute the true residual explicitly or not.

Synopsis

#include "slepcnep.h" 
PetscErrorCode NEPNLEIGSSetTrueResidual(NEP nep,PetscBool trueres)
Logically Collective on NEP

Input Parameters

nep  - the nonlinear eigensolver context
trueres  - whether true residuals are required or not

Options Database Key

-nep_nleigs_true_residual <boolean>  - Sets/resets the boolean flag 'trueres'

Notes

If the user sets trueres=PETSC_TRUE then the solver explicitly computes the true residual norm for each eigenpair approximation, and uses it for convergence testing. The default is to use the cheaper approximation available from the (rational) Krylov iteration.

See Also

NEPNLEIGSGetTrueResidual()

Location: src/nep/impls/nleigs/nleigs.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages