petsc-3.7.1 2016-05-15
SNESApplyNPC
Calls SNESSolve() on preconditioner for the SNES
Synopsis
#include "petscsnes.h"
PetscErrorCode SNESApplyNPC(SNES snes,Vec x,Vec f,Vec y)
Collective on SNES Many br
Input Parameters
| snes | - the SNES context Many br |
| x | - input vector Many br |
| f | - optional; the function evaluation on x Many br |
Output Parameter
y -function vector, as set by SNESSetFunction() Many br
Notes
SNESComputeFunction() should be called on x before SNESApplyNPC() is called, as it is Many brwith SNESComuteJacobian(). Many br
Many br
Keywords
SNES, nonlinear, compute, function
See Also
SNESGetNPC(),SNESSetNPC(),SNESComputeFunction()
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