SNESGetMinimizationFunction

Returns the scalar function value for unconstrained minimization problems.

Synopsis

int SNESGetMinimizationFunction(SNES snes,double *r)
Not Collective

Input Parameter

snes -the SNES context

Output Parameter

r -the function

Notes

SNESGetMinimizationFunction() is valid for SNES_UNCONSTRAINED_MINIMIZATIONmethods only. An analogous routine for SNES_NONLINEAR_EQUATIONS methods isSNESGetFunction().

Keywords

SNES, nonlinear, get, function

See Also

SNESGetGradient(), SNESGetSolution(), SNESGetFunction()

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