KSPComputeOperatorsFn#
A prototype of a KSP evaluation function that would be passed to KSPSetComputeOperators()
Synopsis#
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(KSPComputeOperatorsFn)(KSP ksp, Mat A, Mat P, void *ctx);
Calling Sequence#
ksp -
KSPcontextA - the operator that defines the linear system
P - an operator from which to build the preconditioner (often the same as
A)ctx - [optional] user-defined function context
See Also#
SNES: Nonlinear Solvers, KSP, KSPSetComputeRHS(), SNESGetFunction(), KSPComputeRHSFn, KSPComputeInitialGuessFn
Level#
beginner
Location#
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages