petsc4py.typing.DMCoarsenHookFunction#

petsc4py.typing.DMCoarsenHookFunction#

PETSc.DM coarsening hook callback.

alias of Callable[[DM, DM], None]