modernize a couple examples/COUPLE apps

This commit is contained in:
Steve Plimpton
2023-04-12 15:59:12 -06:00
parent ff5b4e971d
commit b3c00f3edf
28 changed files with 57 additions and 744 deletions

View 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