MatMFFDCheckhFn#
Function provided to MatMFFDSetCheckh()
that checks and possibly adjusts the value of h
to ensure some property. that will be used for differencing
Synopsis#
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode MatMFFDCheckhFn(void *ctx, Vec x, Vec y, PetscScalar *h);
Calling Sequence#
ctx - [optional] user-defined function context provided with
MatMFFDSetCheckh()
x - input base vector
y - input step vector that the product is computed with
h - input tentative step, output possibly adjusted step
Note#
MatMFFDCheckPositivity()
is one such function
See Also#
Matrices, Mat
, MatCreateMFFD()
, MatMFFDSetCheckh()
, MatMFFDCheckPositivity()
Level#
advanced
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages