#include "petscsnes.h" PetscErrorCode SNESLineSearchSetPreCheck(SNESLineSearch linesearch, PetscErrorCode (*func)(SNESLineSearch,Vec,Vec,PetscBool*,void*),void *ctx)Logically Collective on SNESLineSearch
linesearch | - the SNESLineSearch context | |
func | - [optional] function evaluation routine, see SNESLineSearchPreCheckFunction 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