PCApplyBAorAB#
Applies the preconditioner and operator to a vector. or .
Synopsis#
#include "petscksp.h"
PetscErrorCode PCApplyBAorAB(PC pc, PCSide side, Vec x, Vec y, Vec work)
Collective
Input Parameters#
pc - the
PC
preconditioner contextside - indicates the preconditioner side, one of
PC_LEFT
,PC_RIGHT
, orPC_SYMMETRIC
x - input vector
work - work vector
Output Parameter#
y - output vector
Note#
If the PC
has had PCSetDiagonalScale()
set then for left preconditioning or is actually applied.
The specific KSPSolve()
method must also be written to handle the post-solve “correction” for the diagonal scaling.
See Also#
KSP: Linear System Solvers, PC
, PCApply()
, PCApplyTranspose()
, PCApplyBAorABTranspose()
Level#
developer
Location#
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages