#include "petscsnes.h" int MatSNESMFSetFunction(Mat mat,Vec v,int (*func)(SNES,Vec,Vec,void *),void *funcctx)Collective on Mat
mat | - the matrix free matrix created via MatCreateSNESMF() | |
v | - workspace vector | |
func | - the function to use | |
funcctx | - optional function context passed to function |
If this is not set then it will use the function set with SNESSetFunction()
Level:advanced
Location:src/snes/mf/snesmfj.c
Index of all SNESMF routines
Table of Contents for all manual pages
Index of all manual pages