#include "petscsys.h" PetscErrorCode PetscTraceBackErrorHandlerCxx(MPI_Comm comm,int line,const char *fun,const char* file,const char *dir,PetscErrorCode n,PetscErrorType p, const char *mess,void *ctx)Not Collective
comm | - communicator over which error occurred | |
line | - the line number of the error (indicated by __LINE__) | |
func | - the function where error is detected (indicated by __FUNCT__) | |
file | - the file in which the error was detected (indicated by __FILE__) | |
dir | - the directory of the file (indicated by __SDIR__) | |
n | - the generic error number | |
p | - PETSC_ERROR_INITIAL or PETSC_ERROR_REPEAT | |
mess | - the error message + ctx - error handling context, in this case the C++ stream. |