SNESObjectiveFn#
A prototype of a SNES objective evaluation function that would be passed to SNESSetObjective()
Synopsis#
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(SNESObjectiveFn)(SNES snes, Vec u, PetscReal *o, void *ctx);
Calling Sequence#
snes -
SNEScontextu - input vector
o - output value
ctx - [optional] user-defined function context
See Also#
SNES: Nonlinear Solvers, SNES, SNESSetFunction(), SNESGetFunction(), SNESJacobianFn, SNESNGSFn
Level#
beginner
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages