petsc-3.3-p7 2013-05-11

SNESSetSNESLineSearch

Sets the linesearch on the SNES instance.

Synopsis

#include "petscsnes.h"  
#include "petscdmshell.h" 
#include "petscsys.h" 
PetscErrorCode SNESSetSNESLineSearch(SNES snes, SNESLineSearch linesearch)
Collective on SNES

Input Parameters

snes - iterative context obtained from SNESCreate()
linesearch - the linesearch object

Notes

Use SNESGetSNESLineSearch() to retrieve the preconditioner context (for example, to configure it using the API).

Keywords

SNES, set, linesearch

See Also

SNESGetSNESLineSearch()

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