slepc-3.5.2 2014-10-10
Report Typos and Errors

NEPSetRefine

Specifies the refinement type (and options) to be used after the solve.

Synopsis

#include "slepcnep.h" 
PetscErrorCode NEPSetRefine(NEP nep,NEPRefine refine,PetscReal tol,PetscInt its)
Logically Collective on NEP

Input Parameters

nep - the nonlinear eigensolver context
refine - refinement type
tol - the convergence tolerance
its - maximum number of refinement iterations

Options Database Keys

-nep_refine <type> - refinement type, one of <none,simple,multiple>
-nep_refine_tol <tol> - the tolerance
-nep_refine_its <its> - number of iterations

Notes

By default, iterative refinement is disabled, since it may be very costly. There are two possible refinement strategies: simple and multiple. The simple approach performs iterative refinement on each of the converged eigenpairs individually, whereas the multiple strategy works with the invariant pair as a whole, refining all eigenpairs simultaneously. The latter may be required for the case of multiple eigenvalues.

The tol and its parameters specify the stopping criterion. In the simple method, refinement continues until the residual of each eigenpair is below the tolerance (tol defaults to the NEP tol, but may be set to a different value). In contrast, the multiple method simply performs its refinement iterations (just one by default).

See Also

NEPGetRefine()

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