#include "petscsnes.h" PetscErrorCode SNESLineSearchSetPostCheck(SNESLineSearch linesearch, PetscErrorCode (*func)(SNESLineSearch,Vec,Vec,Vec,PetscBool*,PetscBool*,void*),void *ctx)Logically Collective on SNESLineSearch
linesearch | - the SNESLineSearch context | |
func | - [optional] function evaluation routine, see SNESLineSearchPostCheckFunction for the calling sequence | |
ctx | - [optional] user-defined context for private data for the function evaluation routine (may be NULL) |
Level:intermediate
Location:src/snes/linesearch/interface/linesearch.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages