PETSc version 3.15.5
MatSetErrorIfFailure
Causes Mat to generate an error, for example a zero pivot, is detected. 
Synopsis
#include "petscmat.h"  
PetscErrorCode  MatSetErrorIfFailure(Mat mat,PetscBool flg)
Logically Collective on Mat
Input Parameters
See Also
 PCSetErrorIfFailure()
Level
advanced
Location
src/mat/utils/gcreate.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages