mirror of https://github.com/lammps/lammps.git
20 lines
225 B
C
20 lines
225 B
C
![]() |
#ifndef ERROR_H
|
||
|
#define ERROR_H
|
||
|
|
||
|
#include "mpi.h"
|
||
|
|
||
|
class Error {
|
||
|
public:
|
||
|
Error(MPI_Comm);
|
||
|
|
||
|
void all(const char *);
|
||
|
void one(const char *);
|
||
|
void warning(const char *);
|
||
|
|
||
|
private:
|
||
|
MPI_Comm comm;
|
||
|
int me;
|
||
|
};
|
||
|
|
||
|
#endif
|