5 #include "MPI_Object.h"
23 char mErrorString[MPI_MAX_ERROR_STRING];
45 inline static tString
ToString(
const tMPIError& err) {
46 char errorString[MPI_MAX_ERROR_STRING];
48 MPI_Error_string(err,errorString,&errorLength);
49 return tString(errorString);
55 inline tString
toString(
const tMPIError& err) {
56 MPI_Error_string(err,mErrorString,&mErrorLength);
57 return tString(mErrorString);
virtual tString toString() const
return the string representation of the object node
Definition: CORE_Object.h:333
This class manages error.
Definition: MPI_Error.h:17
MPI_Error()
create a class
Definition: MPI_Error.h:28
static tString ToString(const tMPIError &err)
get the string representation of the error
Definition: MPI_Error.h:45
virtual ~MPI_Error(void)
destroy the class
Definition: MPI_Error.h:34
virtual tString toString() const override
get the string representation of the error
Definition: MPI_Error.h:61
tString toString(const tMPIError &err)
get the string representation of the error
Definition: MPI_Error.h:55
This class is a base class of E-MicromM core package.
Definition: MPI_Object.h:32