petsc-3.13.6 2020-09-29
Report Typos and Errors

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