MatFDColoringFn#
Function provided to MatFDColoringSetFunction() that computes the function being differenced
Synopsis#
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode MatFDColoringFn(void *snes, Vec x, Vec y, void *fctx);
Calling Sequence#
snes - either a
SNESobject if used withinSNESotherwise an unused parameterin - the location where the Jacobian is to be computed
out - the location to put the computed function value
fctx - the function context passed into
MatFDColoringSetFunction()
See Also#
Matrices, Mat, MatCreateMFFD(), MatMFFDSetFunction(), MatMFFDiFn, MatMFFDiBaseFn
Level#
advanced
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages