PCGetUseAmat#
Gets the flag that indicates that when the preconditioner needs to apply (part of) the operator during the preconditioning process it applies the Amat provided to TSSetRHSJacobian(), TSSetIJacobian(), SNESSetJacobian(), KSPSetOperators() or PCSetOperators() not the Pmat.
Synopsis#
#include "petscksp.h"
PetscErrorCode PCGetUseAmat(PC pc, PetscBool *flg)
Logically Collective
Input Parameter#
pc - the
PCpreconditioner context
Output Parameter#
flg -
PETSC_TRUEto use theAmat,PETSC_FALSEto use thePmat
See Also#
KSP: Linear System Solvers, PC, PCSetUseAmat(), PCBJACOBI, PCMG, PCFIELDSPLIT, PCCOMPOSITE
Level#
intermediate
Location#
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages