#include "wave.h" void diffop(Array2_dbl &du,Array2_dbl &u,int NNx,int NNy, int nreq, MPI_Request *reqarr, int *coords,int *dims) { int i,j,Nx,Ny; MPI_Status mpistat[8]; Nx=u.storleken1(); Ny=u.storleken2(); // Start up all the communication MPI_Startall(nreq,reqarr); // Differentiate inner points while waiting for the communication for (i=2; i0) { for (j=1; j0) { for (i=1; i