petsc-3.14.5 2021-03-03
Report Typos and Errors

# 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)

### Input Parameters

| linesearch | - linesearch context
| xnorm | - The norm of the current solution
| fnorm | - The norm of the current function
| ynorm | - The norm of the current update

### See Also

SNESLineSearchGetNorms(), SNESLineSearchSetVecs()

### Level

advanced

### Location

src/snes/linesearch/interface/linesearch.c

### Examples

src/snes/tutorials/ex1f.F90.html
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages