petsc-3.4.4 2014-03-13

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