From 323a458de930c1fcdfeecd81a8f4f258b1053640 Mon Sep 17 00:00:00 2001
From: sjplimp <sjplimp@f3b2605a-c512-4ea7-a41b-209d697bcdaa>
Date: Wed, 9 Apr 2014 19:48:20 +0000
Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11762
 f3b2605a-c512-4ea7-a41b-209d697bcdaa

---
 src/neighbor.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/neighbor.cpp b/src/neighbor.cpp
index 98bf70549c..bc96075dd9 100644
--- a/src/neighbor.cpp
+++ b/src/neighbor.cpp
@@ -1399,9 +1399,9 @@ void Neighbor::build(int topoflag)
   }
 
   // if any lists store neighbors of ghosts:
-  // invoke grow() if nlocal+nghost exceeds previous list size
+  //   invoke grow() if nlocal+nghost exceeds previous list size
   // else only invoke grow() if nlocal exceeds previous list size
-  // only done for lists with growflag set and which are perpetual
+  // only for lists with growflag set and which are perpetual (glist)
 
   if (anyghostlist && atom->nlocal+atom->nghost > maxatom) {
     maxatom = atom->nmax;
@@ -1468,6 +1468,8 @@ void Neighbor::build_one(int i)
 
   if (lists[i]->growflag) lists[i]->grow(maxatom);
 
+  // extend atom bin list if necessary
+
   if (style != NSQ && atom->nmax > maxbin) {
     maxbin = atom->nmax;
     memory->destroy(bins);
-- 
GitLab