#include <petscsnes.h> SNESLineSearchPostheckFunction(SNESLineSearch linesearch,Vec x,Vec y, Vec w, *changed_y, PetscBool *changed_w);
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()
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