KSPSkipConverged
Convergence test that NEVER returns as converged.
Synopsis
int KSPSkipConverged(KSP ksp,int n,double rnorm,void *dummy)
Collective on KSP
Input Parameters
ksp | - iterative context
|
n | - iteration number
|
rnorm | - 2-norm residual value (may be estimated)
|
dummy | - unused convergence context
|
Returns
0 -always
Notes
This is used as the convergence test with the option KSPSetAvoidNorms(),
since norms of the residual are not computed. Convergence is then declared
after a fixed number of iterations have been used. Useful when one is
using CG or Bi-CG-stab as a smoother.
Keywords
KSP, default, convergence, residual
See Also
KSPSetConvergenceTest(), KSPSetTolerances(), KSPSetAvoidNorms()
Level:advanced
Location:src/sles/ksp/interface/iterativ.c
KSP Index
Table of Contents