SNESLineSearchShellApplyFn — PETSc 3.25.2 documentation

Skip to main content
`Ctrl`+`K`

# SNESLineSearchShellApplyFn

Function type for the user-supplied apply routine registered with the `SNESLINESEARCHSHELL` line-search

## Synopsis

    PETSC_EXTERN_TYPEDEF typedef PetscErrorCode              SNESLineSearchShellApplyFn(SNESLineSearch ls, PetscCtx ctx);

## Calling Sequence

- ls - the `SNESLineSearch` object

- ctx - optional user-provided context set with `SNESLineSearchShellSetApply()`

## See Also

`SNESLineSearch`, `SNESLINESEARCHSHELL`, `SNESLineSearchShellSetApply()`, `SNESLineSearchApplyFn`

## Level

developer

## Location

include/petscsnes.h

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