SNESLineSearchDestroy

Destroys the line search instance.

Synopsis

#include "petscsnes.h" 
PetscErrorCode SNESLineSearchDestroy(SNESLineSearch * linesearch)
Collective on SNESLineSearch

Input Parameters

linesearch - The linesearch context

Level: developer

See Also

SNESGetLineSearch(), SNESLineSearchCreate(), SNESLineSearchReset(), SNESDestroy()

Location:linesearch.c