petsc-3.10.5 2019-03-28
SNESLineSearchReset
Undoes the SNESLineSearchSetUp() and deletes any Vecs or Mats allocated by the line search.
Synopsis
#include "petscsnes.h"
PetscErrorCode SNESLineSearchReset(SNESLineSearch linesearch)
Collective on SNESLineSearch
Input Parameters
linesearch -The LineSearch instance.
Notes
Usually only called by SNESReset()
Keywords
SNESLineSearch, Reset
See Also
SNESGetLineSearch(), SNESLineSearchSetUp()
Level
developer
Location
src/snes/linesearch/interface/linesearch.c
Implementations
SNESLineSearchReset_NLEQERR in src/snes/linesearch/impls/nleqerr/linesearchnleqerr.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages