From 3c3f8b20134bf708ee33e968b2cf0e325fdc32e9 Mon Sep 17 00:00:00 2001 From: James E McClure Date: Sat, 14 Nov 2015 17:07:14 -0500 Subject: [PATCH] Cleaning up lbpm_color_simulator --- tests/lbpm_color_simulator.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tests/lbpm_color_simulator.cpp b/tests/lbpm_color_simulator.cpp index ecc98b3b..2a10b454 100644 --- a/tests/lbpm_color_simulator.cpp +++ b/tests/lbpm_color_simulator.cpp @@ -114,14 +114,7 @@ int main(int argc, char **argv) // parallel domain size (# of sub-domains) int nprocx,nprocy,nprocz; int iproc,jproc,kproc; - //***************************************** - // MPI ranks for all 18 neighbors -/* //********************************** - int rank_x,rank_y,rank_z,rank_X,rank_Y,rank_Z; - int rank_xy,rank_XY,rank_xY,rank_Xy; - int rank_xz,rank_XZ,rank_xZ,rank_Xz; - int rank_yz,rank_YZ,rank_yZ,rank_Yz; -*/ //********************************** + MPI_Request req1[18],req2[18]; MPI_Status stat1[18],stat2[18]; @@ -318,12 +311,6 @@ int main(int argc, char **argv) // Mask that excludes the solid phase Domain Mask(Nx,Ny,Nz,rank,nprocx,nprocy,nprocz,Lx,Ly,Lz,BoundaryCondition); -/* InitializeRanks( rank, nprocx, nprocy, nprocz, iproc, jproc, kproc, - rank_x, rank_y, rank_z, rank_X, rank_Y, rank_Z, - rank_xy, rank_XY, rank_xY, rank_Xy, rank_xz, rank_XZ, rank_xZ, rank_Xz, - rank_yz, rank_YZ, rank_yZ, rank_Yz ); - */ - MPI_Barrier(comm); Nz += 2;