SNESGetObjective#
Returns the objective function set with SNESSetObjective()
Synopsis#
PetscErrorCode SNESGetObjective(SNES snes, PetscErrorCode (**obj)(SNES, Vec, PetscReal *, void *), void **ctx)
Not Collective
Input Parameter#
snes - the
SNES
context
Output Parameters#
obj - objective evaluation routine (or
NULL
); seeSNESObjectiveFunction
for detailsctx - the function context (or
NULL
)
See Also#
SNES: Nonlinear Solvers, SNES
, SNESSetObjective()
, SNESObjectiveFunction
, SNESGetSolution()
Level#
advanced
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages