Karamelo  714599e9
Parallel Material Point Method Simulator
error.h
1 /* -*- c++ -*- ----------------------------------------------------------
2  *
3  * *** Karamelo ***
4  * Parallel Material Point Method Simulator
5  *
6  * Copyright (2019) Alban de Vaucorbeil, alban.devaucorbeil@monash.edu
7  * Materials Science and Engineering, Monash University
8  * Clayton VIC 3800, Australia
9 
10  * This software is distributed under the GNU General Public License.
11  *
12  * ----------------------------------------------------------------------- */
13 
14 #ifndef MPM_ERROR_H
15 #define MPM_ERROR_H
16 
17 #include "pointers.h"
18 
22 class Error : protected Pointers {
23  public:
24  Error(class MPM *);
25 
26  void all(const char *, int, const string);
27  void one(const char *, int, const string);
28  void done(int = 0);
29 };
30 
31 #endif
void all(const char *, int, const string)
Is used when all CPUs exit with an error.
Definition: error.cpp:33
Definition: error.h:22
void done(int=0)
Exit with status.
Definition: error.cpp:70
Definition: mpm.h:29
Definition: pointers.h:29
void one(const char *, int, const string)
Is used when one CPU exits with an error.
Definition: error.cpp:56