MATMFFD — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# MATMFFD

“mffd” - A matrix-free matrix type.

## Developer Notes

This is implemented on top of `MATSHELL` to get support for scaling and shifting without requiring duplicate code

Users should not MatShell… operations on this class, there is some error checking for that incorrect usage

## See Also

Matrices, `Mat`, `MatCreateMFFD()`, `MatCreateSNESMF()`, `MatMFFDSetFunction()`, `MatMFFDSetType()`, `MatMFFDSetFunctionError()`, `MatMFFDDSSetUmin()`, `MatMFFDSetHHistory()`, `MatMFFDResetHHistory()`, `MatMFFDGetH()`

## Level

advanced

## Location

src/mat/impls/mffd/mffd.c

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages