From 5a09959e998f6a5619cdc64b1c7d809147dd8124 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 8 May 2007 20:28:48 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@555 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/neighbor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/neighbor.cpp b/src/neighbor.cpp index 5b0b5141fe..aab9421397 100644 --- a/src/neighbor.cpp +++ b/src/neighbor.cpp @@ -436,7 +436,6 @@ void Neighbor::init() half = full = 0; if (half_every || half_once || half_command) half = 1; if (full_every || full_once) full = 1; - half = 1; // determine whether to build granular history lists // fix_history = granular shear history fix @@ -509,7 +508,7 @@ void Neighbor::init() // set ptrs to half/full/multi/triclinic build & stencil functions if (half) { - if (atom->check_style("granular")) { + if (atom->radius) { if (style == NSQ) { if (force->newton_pair == 0) half_build = &Neighbor::granular_nsq_no_newton;