#include "petscmat.h" PetscErrorCode MatMFFDSetFunction(Mat mat,PetscErrorCode (*func)(void*,Vec,Vec),void *funcctx)Logically Collective on Mat
mat | - the matrix free matrix created via MatCreateSNESMF() | |
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() if MatCreateSNESMF() was used.
Level:advanced
Location:src/mat/impls/mffd/mffd.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages