petsc-3.5.4 2015-05-23
Report Typos and Errors

SNESFunction

functional form used to convey the nonlinear function to be solved by SNES

Synopsis

#include 
SNESFunction(SNES snes,Vec x,Vec f,void *ctx);

Input Parameters

snes - the SNES context
x - state at which to evaluate residual
ctx - optional user-defined function context, passed in with SNESSetFunction()

Output Parameter

f -vector to put residual (function value)

See Also

SNESSetFunction(), SNESGetFunction()

Level:intermediate
Location:
src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages