MatFDColoringSetF#
Cache the current function value used by the finite-difference coloring context to avoid recomputing F(x) during a Jacobian evaluation.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatFDColoringSetF(MatFDColoring fd, Vec F)
Logically Collective
Input Parameters#
fd - the
MatFDColoringcontextF - the current function value
F(x), orNULLto invalidate any cached value
See Also#
Mat, MatFDColoring, MatFDColoringCreate(), MatFDColoringApply()
Level#
advanced
Location#
Index of all MatFD routines
Table of Contents for all manual pages
Index of all manual pages