#include "petscmat.h" PetscErrorCode MatMFFDSetFunction(Mat mat,PetscErrorCode (*func)(void*,Vec,Vec),void *funcctx)Logically Collective on Mat Many br
mat | - the matrix free matrix created via MatCreateSNESMF() or MatCreateMFFD() Many br | |
func | - the function to use Many br | |
funcctx | - optional function context passed to function Many br |
func (void *funcctx, Vec x, Vec f)
funcctx | - user provided context Many br | |
x | - input vector Many br | |
f | - computed output function Many br |
Many br
If this is not set then it will use the function set with SNESSetFunction() if MatCreateSNESMF() was used. Many br
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