petsc-3.7.1 2016-05-15
MatMFFDSetFunctionError
Sets the error_rel for the approximation of matrix-vector products using finite differences.
Synopsis
#include "petscmat.h"
PetscErrorCode MatMFFDSetFunctionError(Mat mat,PetscReal error)
Logically Collective on Mat Many br
Input Parameters
| mat | - the matrix free matrix created via MatCreateMFFD() or MatCreateSNESMF() Many br |
| error_rel | - relative error (should be set to the square root of Many brthe relative error in the function evaluations) Many br |
Options Database Keys