SNESGetFunction

Returns the vector where the function is stored.

Synopsis

int SNESGetFunction(SNES snes,Vec *r)
Not Collective, but Vec is parallel if SNES is parallel

Input Parameter

snes -the SNES context

Output Parameter

r -the function

Notes

SNESGetFunction() is valid for SNES_NONLINEAR_EQUATIONS methods onlyAnalogous routines for SNES_UNCONSTRAINED_MINIMIZATION methods areSNESGetMinimizationFunction() and SNESGetGradient();

Keywords

SNES, nonlinear, get, function

See Also

SNESSetFunction(), SNESGetSolution(), SNESGetMinimizationFunction(),
SNESGetGradient()

Location: src/snes/interface/snes.c
SNES Index
Table of Contents