#include <petscsys.h> PetscErrorCode SETERRQ1(MPI_Comm comm,PetscErrorCode ierr,char *formatmessage,arg)Collective
comm | - A communicator, so that the error can be collective | |
ierr | - nonzero error code, see the list of standard error codes in include/petscerror.h | |
message | - error message in the printf format | |
arg | - argument (for example an integer, string or double) |
Experienced users can set the error handler with PetscPushErrorHandler().