#include "snes.h" int SNESSetMinimizationFunction(SNES snes,int (*func)(SNES,Vec,PetscReal*,void*),void *ctx)Collective on SNES
snes | - the SNES context | |
func | - function evaluation routine | |
ctx | - [optional] user-defined context for private data for the function evaluation routine (may be PETSC_NULL) |
func (SNES snes,Vec x,PetscReal *f,void *ctx);
x | - input vector | |
f | - function | |
ctx | - [optional] user-defined function context |
Level:beginner
Location:src/snes/interface/snes.c
SNES Index
Table of Contents