petsc-3.3-p7 2013-05-11

SNESGetSNESLineSearch

Returns a pointer to the line search context set with SNESSetLineSearch() or creates a default line search instance associated with the SNES and returns it.

Synopsis

#include "petscsnes.h"  
#include "petscdmshell.h" 
#include "petscsys.h" 
PetscErrorCode SNESGetSNESLineSearch(SNES snes, SNESLineSearch *linesearch)
Not Collective

Input Parameter

snes -iterative context obtained from SNESCreate()

Output Parameter

linesearch -linesearch context

Keywords

SNES, get, linesearch

See Also

SNESSetSNESLineSearch()

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

Examples

src/snes/examples/tutorials/ex3.c.html
src/snes/examples/tutorials/ex15.c.html
src/snes/examples/tutorials/ex1f.F.html
src/snes/examples/tutorials/ex39f90.F.html