MatSNESMFSetType
Sets the method that is used to compute the differencing parameter for finite difference matrix-free formulations.
Synopsis
#include "snes.h"
int MatSNESMFSetType(Mat mat,char *ftype)
Input Parameters
| mat | - the "matrix-free" matrix created via MatCreateSNESMF()
|
| ftype | - the type requested
|
Notes
For example, such routines can compute h for use in
Jacobian-vector products of the form
F(x+ha) - F(x)
F'(u)a ~= ----------------
h
See Also
MatCreateSNESMF(), MatSNESMFRegisterDynamic)
Level:advanced
Location:src/snes/mf/snesmfj.c
SNES Index
Table of Contents