#include "petscksp.h" #include "petscmat.h" PetscErrorCode KSPGetErrorIfNotConverged(KSP ksp,PetscBool *flag)