#include "snes.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
SNES Index
Table of Contents