git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@555 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2007-05-08 20:28:48 +00:00
parent ba8fd08691
commit 5a09959e99
1 changed files with 1 additions and 2 deletions

View File

@ -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;