SNESObjectiveFunction#
functional form used to convey an objective function to the nonlinear solver
Synopsis#
#include <petscsnes.h>
SNESObjectiveFunction(SNES snes,Vec x,PetscReal *obj,void *ctx);
Input Parameters#
snes - the SNES context
X - solution
obj - real to hold the objective value
ctx - optional user-defined objective context
See Also#
SNES
, SNESSetFunction()
, SNESGetFunction()
, SNESSetObjective()
, SNESGetObjective()
, SNESJacobianFunction
, SNESFunction
Level#
advanced
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages