petsc-3.10.5 2019-03-28
Report Typos and Errors

# SNESGetNPCFunction

Gets the function from a preconditioner after SNESSolve() has been called.

### Synopsis

    #include "petscsnes.h"
    PetscErrorCode SNESGetNPCFunction(SNES snes,Vec F,PetscReal *fnorm)

Collective on SNES

### Input Parameters

snes -the SNES context

### Output Parameter

F -function vector
fnorm -the norm of F

### Keywords

SNES, nonlinear, function

### See Also

SNESGetNPC(),SNESSetNPC(),SNESComputeFunction(),SNESApplyNPC(),SNESSolve()

### Level

developer

### Location

src/snes/interface/snespc.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages