petsc-3.3-p1 2012-06-15

SNESLineSearchGetOrder

Gets the line search approximation order.

Synopsis

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

Input Parameters

linesearch -linesearch context

Output Parameters

order -The order

Possible Values for order

SNES_LINESEARCH_LINEAR - linear method
SNES_LINESEARCH_QUADRATIC - quadratic method
SNES_LINESEARCH_CUBIC - cubic method

See Also

SNESLineSearchSetOrder()

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