# MatMFFDGetH
Gets the last value that was used as the differencing for a `MATMFFD` matrix parameter. 
## Synopsis
```
#include "petscmat.h"   
PetscErrorCode MatMFFDGetH(Mat mat, PetscScalar *h)
```
Not Collective


## Input Parameters

- ***mat -*** the `MATMFFD` matrix



## Output Parameter

- ***h -*** the differencing step size





## See Also
 `MATMFFD`, `MatCreateSNESMF()`, `MatMFFDSetHHistory()`, `MatCreateMFFD()`, `MATMFFD`, `MatMFFDResetHHistory()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/mffd/mffd.c.html#MatMFFDGetH">src/mat/impls/mffd/mffd.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/mffd/mffd.c.html#MatMFFDGetH_MFFD">MatMFFDGetH_MFFD in src/mat/impls/mffd/mffd.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/mffd/mffd.c)


[Index of all Mat routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
