petsc-3.7.4 2016-10-02
Report Typos and Errors


form of function that is called after line search is complete


#include <petscsnes.h>
SNESLineSearchPostheckFunction(SNESLineSearch linesearch,Vec x,Vec y,  Vec w, *changed_y, PetscBool *changed_w);

Input Parameters

x - old solution vector
y - search direction vector
w - new solution vector
changed_y - indicates that the line search changed y
changed_w - indicates that the line search changed w

Note: This is NOTE a PETSc function, rather it documents the calling sequence of functions passed to SNESLineSearchSetPostCheck() and SNESLineSearchGetPostCheck()

See Also

SNESLineSearchSetPreCheck(), SNESLineSearchSetPostCheck(), SNESLineSearchGetPreCheck(), SNESLineSearchGetPostCheck()

Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages