petsc-3.3-p7 2013-05-11

SNESLineSearchGetVecs

Gets the vectors from the SNESLineSearch context

Synopsis

#include "petscsnes.h" 
PetscErrorCode SNESLineSearchGetVecs(SNESLineSearch linesearch,Vec *X,Vec *F, Vec *Y,Vec *W,Vec *G)

Input Parameters

linesearch -linesearch context

Output Parameters

X - The old solution
F - The old function
Y - The search direction
W - The new solution
G - The new function

See Also

SNESLineSearchGetNorms(), SNESLineSearchSetVecs()

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

Examples

src/snes/examples/tutorials/ex1f.F.html
src/snes/examples/tutorials/ex39f90.F.html