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

@ -3,7 +3,7 @@
#include <cstdio>
#include "send2one.h"
#include "memory.h"
#include "error.h"
#include "errorlib.h"
/* ---------------------------------------------------------------------- */
@ -14,7 +14,7 @@ Send2One::Send2One(MPI_Comm caller_comm)
MPI_Comm_size(comm,&nprocs);
memory = new Memory(comm);
error = new Error(comm);
error = new ErrorLib(comm);
buf = NULL;
maxbuf = 0;