#include "petscksp.h" PetscErrorCode PCGetOperatorsSet(PC pc,PetscBool *mat,PetscBool *pmat)Not collective, though the results on all processes should be the same
pc | - the preconditioner context |
mat | - the matrix associated with the linear system was set | |
pmat | - matrix associated with the preconditioner was set, usually the same |