forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@555 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
ba8fd08691
commit
5a09959e99
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue