Karamelo  714599e9
Parallel Material Point Method Simulator
Error Class Reference

Detailed Description

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.

+ Inheritance diagram for Error:

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...
 

Member Function Documentation

◆ all()

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

◆ one()

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


The documentation for this class was generated from the following files: