PETSc version 3.15.5
Fix/Edit manual page

SNESLineSearchGetType

Gets the linesearch type

Synopsis

#include "petscsnes.h" 
PetscErrorCode SNESLineSearchGetType(SNESLineSearch linesearch, SNESLineSearchType *type)
Logically Collective on SNESLineSearch

Input Parameters

linesearch - linesearch context

Output Parameters

type - The type of line search, or NULL if not set

See Also

SNESLineSearchCreate(), SNESLineSearchType, SNESLineSearchSetFromOptions(), SNESLineSearchSetType()

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