petsc-3.3-p2 2012-07-13

SNESLineSearchSetFromOptions

Sets options for the line search

Synopsis

#include "petscsnes.h" 
PetscErrorCode SNESLineSearchSetFromOptions(SNESLineSearch linesearch)

Input Parameters

linesearch -linesearch context

Options Database Keys

-snes_linesearch_type - The Line search method
-snes_linesearch_minlambda - The minimum step length
-snes_linesearch_maxstep - The maximum step size
-snes_linesearch_rtol - Relative tolerance for iterative line searches
-snes_linesearch_atol - Absolute tolerance for iterative line searches
-snes_linesearch_ltol - Change in lambda tolerance for iterative line searches
-snes_linesearch_max_it - The number of iterations for iterative line searches
-snes_linesearch_monitor - Print progress of line searches
-snes_linesearch_damping - The linesearch damping parameter
-snes_linesearch_norms - Turn on/off the linesearch norms
-snes_linesearch_keeplambda - Keep the previous search length as the initial guess.
-snes_linesearch_order - The polynomial order of approximation used in the linesearch
-snes_linesearch_precheck_picard - Use precheck that speeds up convergence of picard method
-snes_linesearch_precheck_picard_angle - Angle used in picard precheck method

Logically Collective on SNESLineSearch

See Also

SNESLineSearchCreate()

Level:intermediate
Location:
src/snes/linesearch/interface/linesearch.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages