SNESLineSearchSetFunction#

Sets the function evaluation used by the SNES line search `

Synopsis#

#include "petscsnes.h" 
PetscErrorCode SNESLineSearchSetFunction(SNESLineSearch linesearch, PetscErrorCode (*func)(SNES, Vec, Vec))

Input Parameters#

See Also#

SNESLineSearch, SNESGetLineSearch(), SNESSetFunction()

Level#

developer

Location#

src/snes/linesearch/interface/linesearch.c


Edit on GitLab

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