int SNESSetMinimizationFunction(SNES snes,int (*func)(SNES,Vec,double*,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,double *f,void *ctx);
| x | - input vector |
| f | - function |
| ctx | - [optional] user-defined function context |
Location: src/snes/interface/snes.c
SNES Index
Table of Contents