petsc4py.typing.TAOGradientFunction#

petsc4py.typing.TAOGradientFunction#

TAO objective gradient callback.

alias of Callable[[TAO, Vec, Vec], None]