SNESLineSearchRegister#
register a line search type
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESLineSearchRegister(const char sname[], PetscErrorCode (*function)(SNESLineSearch ls))
Input Parameters#
sname - name of the line search
function - the creation function for that type
Calling sequence of function
#
ls - the linesearch context
See Also#
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