SNESLineSearchGetType#

Gets the linesearch type

Synopsis#

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

Logically Collective

Input Parameter#

  • linesearch - linesearch context

Output Parameter#

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

See Also#

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

Level#

intermediate

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