petsc-3.3-p2 2012-07-13

SNESLineSearchSetOrder

Sets the line search damping paramter.

Synopsis

#include "petscsnes.h" 
PetscErrorCode  SNESLineSearchSetOrder(SNESLineSearch linesearch,PetscInt order)

Input Parameters

linesearch -linesearch context
order -The damping parameter

Possible Values for order

SNES_LINESEARCH_ORDER_LINEAR - linear method
SNES_LINESEARCH_ORDER_QUADRATIC - quadratic method
SNES_LINESEARCH_ORDER_CUBIC - cubic method

Notes

Variable orders are supported by the following line searches

bt - cubic and quadratic
cp - linear and quadratic

See Also

SNESLineSearchGetOrder()

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