PetscErrorCode SNESGetObjective(SNES snes,PetscErrorCode (**obj)(SNES,Vec,PetscReal*,void*),void **ctx)Not Collective
snes | - the SNES context |
obj | - objective evaluation routine (or NULL); see SNESObjectFunction for details | |
ctx | - the function context (or NULL) |