petsc-3.4.5 2014-06-29

SNESGetObjective

Returns the objective function.

Synopsis

PetscErrorCode SNESGetObjective(SNES snes,PetscErrorCode (**SNESObjectiveFunction)(SNES,Vec,PetscReal*,void*),void **ctx)
Not Collective

Input Parameter

snes -the SNES context

Output Parameter

SNESObjectiveFunction - objective evaluation routine (or NULL)
ctx - the function context (or NULL)

Keywords

SNES, nonlinear, get, objective

See Also

SNESSetObjective(), SNESGetSolution()

Level:advanced
Location:
src/snes/interface/snesob.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages