petsc-dev 2014-02-02
SNESApplyPC
Calls the function that has been set with SNESSetFunction().
Synopsis
#include "petscsnes.h"
PetscErrorCode SNESApplyPC(SNES snes,Vec x,Vec f,PetscReal *fnorm,Vec y)
Collective on SNES
Input Parameters
| snes | - the SNES context
|
| x | - input vector
|
Output Parameter
y -function vector, as set by SNESSetFunction()
Notes
SNESComputeFunction() should be called on X before SNESApplyPC() is called, as it is
with SNESComuteJacobian().
Keywords
SNES, nonlinear, compute, function
See Also
SNESGetPC(),SNESSetPC(),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