# MatMFFDFinalizePackage
This function destroys everything in the MATMFFD` package. It is called from `PetscFinalize()`. 
## Synopsis
```
#include "petscmat.h"   
PetscErrorCode MatMFFDFinalizePackage(void)
```



## See Also
 `MATMFFD`, `PetscFinalize()`, `MatCreateMFFD()`, `MatCreateSNESMF()`

## Level
developer

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


---
[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)  
