SNESGetLineSearchParams

Gets the parameters associated with the line search routine in the Newton-based method SNESEQLS.

Synopsis

int SNESGetLineSearchParams(SNES snes,double *alpha,double *maxstep,double *steptol)
Not collective, but any processor will return the same values

Input Parameters

snes - The nonlinear context obtained from SNESCreate()
alpha - The scalar such that x_{n+1} . x_{n+1} <= x_n . x_n - alpha |x_n . J . x_n|
maxstep - The maximum norm of the update vector
steptol - The minimum norm fraction of the original step after scaling

Note

To not get a certain parameter, pass in PETSC_NULL

Contributed by: Mathew Knepley

Keywords

SNES, nonlinear, set, line search parameters

See Also

SNESSetLineSearchParams(), SNESSetLineSearch()

Level:intermediate
Location:
src/snes/impls/ls/lsparams.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages