From bb0e8a114fae2e5b5554df2d267069fc35a3814b Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 1 Mar 2016 00:39:43 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14694 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/neighbor.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/neighbor.cpp b/src/neighbor.cpp index 3eaf4df159..f2d355db04 100644 --- a/src/neighbor.cpp +++ b/src/neighbor.cpp @@ -1515,7 +1515,7 @@ int Neighbor::check_distance() } /* ---------------------------------------------------------------------- - build perpetuals neighbor lists + build perpetual neighbor lists called at setup and every few timesteps during run or minimization topology lists also built if topoflag = 1, USER-CUDA calls with topoflag = 0 ------------------------------------------------------------------------- */ @@ -2089,10 +2089,6 @@ int Neighbor::coord2bin(double *x) iz = static_cast ((x[2]-bboxlo[2])*bininvz) - 1; return (iz-mbinzlo)*mbiny*mbinx + (iy-mbinylo)*mbinx + (ix-mbinxlo); - - //int ibin = (iz-mbinzlo)*mbiny*mbinx + (iy-mbinylo)*mbinx + (ix-mbinxlo); - //if (0 <= ibin && ibin < mbins) return ibin; - //else error->one(FLERR,"Invalid neighor bin"); } /* ---------------------------------------------------------------------- @@ -2129,10 +2125,6 @@ int Neighbor::coord2bin(double *x, int &ix, int &iy, int &iz) iy -= mbinylo; iz -= mbinzlo; return iz*mbiny*mbinx + iy*mbinx + ix; - - //int ibin = iz*mbiny*mbinx + iy*mbinx + ix; - //if (0 <= ibin && ibin < mbins) return ibin; - //else error->one(FLERR,"Invalid neighor bin"); } /* ----------------------------------------------------------------------