![]() |
Karamelo
714599e9
Parallel Material Point Method Simulator
|
This class handles all the errors that can occur during the execution of the code. Terminates the process and prints all the corresponding error messages.
Public Member Functions | |
void | all (const char *, int, const string) |
Is used when all CPUs exit with an error. More... | |
void | done (int=0) |
Exit with status. | |
void | one (const char *, int, const string) |
Is used when one CPU exits with an error. More... | |
void Error::all | ( | const char * | file, |
int | line, | ||
const string | str | ||
) |
Is used when all CPUs exit with an error.
Called by all procs in universe close all output, screen, and log files in universe no abort, so insure all procs in universe call, else will hang
void Error::one | ( | const char * | file, |
int | line, | ||
const string | str | ||
) |
Is used when one CPU exits with an error.
Called by one proc in universe Forces abort of entire universe if any proc in universe calls