modernize a couple examples/COUPLE apps
This commit is contained in:
19
examples/COUPLE/library/errorlib.h
Normal file
19
examples/COUPLE/library/errorlib.h
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef ERRORLIB_H
|
||||
#define ERRORLIB_H
|
||||
|
||||
#include <mpi.h>
|
||||
|
||||
class ErrorLib {
|
||||
public:
|
||||
ErrorLib(MPI_Comm);
|
||||
|
||||
void all(const char *);
|
||||
void one(const char *);
|
||||
void warning(const char *);
|
||||
|
||||
private:
|
||||
MPI_Comm comm;
|
||||
int me;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user