KSPSetPC
Sets the preconditioner to be used to calculate the application of the preconditioner on a vector.
Synopsis
int KSPSetPC(KSP ksp,PC B)
Collective on
KSP
Input Parameters
ksp | - iterative context obtained from KSPCreate()
|
B | - the preconditioner object
|
Notes
Use KSPGetPC() to retrieve the preconditioner context (for example,
to free it at the end of the computations).
Keywords
KSP, set, precondition, Binv
See Also
KSPGetPC()
Location: src/ksp/interface/itfunc.c
KSP Index
Table of Contents