petsc4py.typing.DMRestrictHookFunction# petsc4py.typing.DMRestrictHookFunction# PETSc.DM restriction hook callback. alias of Callable[[DM, Mat, Vec, Mat, DM], None]