SNESComputeFunction#
Calls the function that has been set with SNESSetFunction()
.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESComputeFunction(SNES snes, Vec x, Vec y)
Collective
Input Parameters#
snes - the
SNES
contextx - input vector
Output Parameter#
y - function vector, as set by
SNESSetFunction()
Note#
SNESComputeFunction()
is typically used within nonlinear solvers
implementations, so users would not generally call this routine themselves.
See Also#
SNES: Nonlinear Solvers, SNES
, SNESSetFunction()
, SNESGetFunction()
, SNESComputeMFFunction()
Level#
developer
Location#
Examples#
src/snes/tutorials/ex12.c
src/snes/tutorials/ex1f.F90
src/snes/tutorials/ex22.c
src/snes/tutorials/ex63.c
src/snes/tutorials/ex77.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages