SNESConverged_EQ_TR

Monitors the convergence of the trust region method SNES_EQ_TR for solving systems of nonlinear equations (default).

Synopsis

int SNESConverged_EQ_TR(SNES snes,double xnorm,double pnorm,double fnorm,void *dummy)
Collective on SNES

Input Parameters

snes - the SNES context
xnorm - 2-norm of current iterate
pnorm - 2-norm of current step
fnorm - 2-norm of function
dummy - unused context

Returns

where

1 if ( delta < xnorm*deltatol ),- . 2 if ( fnorm < atol ),
3 if ( pnorm < xtol*xnorm ),- . -2 if ( nfct > maxf ),
-1 if ( delta < xnorm*epsmch ),- - 0 otherwise
delta - trust region paramenter
deltatol - trust region size tolerance, set with SNESSetTrustRegionTolerance()
maxf - maximum number of function evaluations, set with SNESSetTolerances()
nfct - number of function evaluations,
atol - absolute function norm tolerance, set with SNESSetTolerances()
xtol - relative function norm tolerance, set with SNESSetTolerances()

Keywords

SNES, nonlinear, default, converged, convergence

See Also

SNESSetConvergenceTest(), SNESEisenstatWalkerConverged()

Location: src/snes/impls/tr/tr.c
SNES Index
Table of Contents