int SNESConverged_UM_LS(SNES snes,double xnorm,double gnorm,double f,void *dummy)Collective on SNES
snes | - the SNES context |
xnorm | - 2-norm of current iterate |
gnorm | - 2-norm of current gradient |
f | - objective function value |
dummy | - unused dummy context |
1 if ( f < fmin ), | - . 2 if ( gnorm < atol ), |
-1 if ( nfunc > max_func ), | - . -2 if ( gnorm < epsmch ), |
-3 if line search attempt failed, | - - 0 otherwise, |
atol | - absolute gradient norm tolerance, set with SNESSetTolerances() |
epsmch | - machine epsilon |
fmin | - lower bound on function value, set with SNESSetMinimizationFunctionTolerance() |
max_func | - maximum number of function evaluations, set with SNESSetTolerances() |
nfunc | - number of function evaluations |
Location: src/snes/impls/umls/umls.c
SNES Index
Table of Contents