#include "wave.h" void bound(Array2_dbl &unew, Array2_dbl &uold, double t, double dt, double dx, double dy, int nx1, int ny1, MPI_Comm proc_grid) { int i,j,Nx,Ny; int ndim=2,dims[2],periods[2],coords[2]; double x,y; Nx=unew.storleken1(); Ny=unew.storleken2(); MPI_Cart_get(proc_grid,ndim,dims,periods,coords); // Physical boundary conditions if (coords[0]==0) for (j=1; j