petsc-3.7.1 2016-05-15
Report Typos and Errors

SNESLineSearchPostCheck

Prepares the line search for being applied.

Synopsis

#include "petscsnes.h" 
PetscErrorCode SNESLineSearchPostCheck(SNESLineSearch linesearch,Vec X,Vec Y,Vec W,PetscBool *changed_Y,PetscBool *changed_W)
Logically Collective on SNESLineSearch Many br

Input Parameters

linesearch - The linesearch context Many br
X - The last solution Many br
Y - The step direction Many br
W - The updated solution, W = X + lambda*Y for some lambda Many br

Output Parameters

changed_Y - Indicator if the direction Y has been changed. Many br
changed_W - Indicator if the new candidate solution W has been changed. Many br

Many br

Keywords

SNESLineSearch, Create

See Also

SNESLineSearchPreCheck()

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