#includeNot CollectivePetscErrorCode SETERRQ2(MPI_Comm comm,PetscErrorCode errorcode,char *formatmessage,arg1,arg2)
comm | - A communicator, so that the error can be collective | |
errorcode | - nonzero error code, see the list of standard error codes in include/petscerror.h | |
message | - error message in the printf format | |
arg1 | - argument (for example an integer, string or double) | |
arg2 | - argument (for example an integer, string or double) |
Experienced users can set the error handler with PetscPushErrorHandler().
Level:beginner
Location:src/sys/error/../../../include/petscerror.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages