SNESLineSearchSetNorms#
Gets the computed norms for for X, Y, and F.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESLineSearchSetNorms(SNESLineSearch linesearch, PetscReal xnorm, PetscReal fnorm, PetscReal ynorm)
Collective
Input Parameters#
linesearch - linesearch context
xnorm - The norm of the current solution
fnorm - The norm of the current function, this is the
norm(function(X))
whereX
is the current solutionynorm - The norm of the current update
See Also#
SNESLineSearch
, SNESLineSearchGetNorms()
, SNESLineSearchSetVecs()
Level#
developer
Location#
Examples#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages