#include "petscksp.h" PetscErrorCode PCSetUseAmat(PC pc,PetscBool flg)Logically Collective on PC
pc | - the preconditioner context | |
flg | - PETSC_TRUE to use the Amat, PETSC_FALSE to use the Pmat (default is false) |
-pc_use_amat <true,false> | - use the amat to apply the operator |