clean up ScaLBL.cpp

This commit is contained in:
James McClure
2018-07-06 10:54:46 -04:00
parent 0cdc13100c
commit 31da8a4b4d

View File

@@ -447,7 +447,7 @@ int ScaLBL_Communicator::MemoryOptimizedLayoutAA(IntArray &Map, int *neighborLis
// {0,1,1},{0,-1,-1},
// {0,1,-1},{0,-1,1}};
int neighbor; // cycle through the neighbors of lattice site idx
neighbor=Map(i-1,j,k);
otoneighbor=Map(i-1,j,k);
if (neighbor<0) neighborList[idx]=idx + 2*Np;
else neighborList[idx]=neighbor + 1*Np;