petsc-3.7.1 2016-05-15
Report Typos and Errors

SNESLineSearchSetReason

Sets the success/failure status of the last line search application

Synopsis

#include "petscsnes.h" 
PetscErrorCode  SNESLineSearchSetReason(SNESLineSearch linesearch, SNESLineSearchReason result)

Input Parameters

linesearch - linesearch context Many br
result - The success or failure status Many br

Notes

This is typically called in a SNESLineSearchApply() or SNESLineSearchShell implementation to set Many brthe success or failure of the line search method. Many br

Many br

See Also

SNESLineSearchGetSResult()

Level:developer
Location:
src/snes/linesearch/interface/linesearch.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages