From d17da089812fe958cf3ac6631cc8dcef9fa6513d Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 28 May 2010 22:25:09 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4206 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/fix_nh_sphere.cpp | 2 -- src/fix_nve_sphere.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/fix_nh_sphere.cpp b/src/fix_nh_sphere.cpp index 29622a13f5..91a663ce8a 100644 --- a/src/fix_nh_sphere.cpp +++ b/src/fix_nh_sphere.cpp @@ -54,7 +54,6 @@ void FixNHSphere::init() double *radius = atom->radius; int *mask = atom->mask; int nlocal = atom->nlocal; - if (igroup == atom->firstgroup) nlocal = atom->nfirst; for (i = 0; i < nlocal; i++) if (mask[i] & groupbit) { @@ -67,7 +66,6 @@ void FixNHSphere::init() int *type = atom->type; int *mask = atom->mask; int nlocal = atom->nlocal; - if (igroup == atom->firstgroup) nlocal = atom->nfirst; for (i = 0; i < nlocal; i++) if (mask[i] & groupbit) { diff --git a/src/fix_nve_sphere.cpp b/src/fix_nve_sphere.cpp index 56e4315312..7a8f66934a 100644 --- a/src/fix_nve_sphere.cpp +++ b/src/fix_nve_sphere.cpp @@ -86,7 +86,6 @@ void FixNVESphere::init() double *radius = atom->radius; int *mask = atom->mask; int nlocal = atom->nlocal; - if (igroup == atom->firstgroup) nlocal = atom->nfirst; for (i = 0; i < nlocal; i++) if (mask[i] & groupbit) { @@ -99,7 +98,6 @@ void FixNVESphere::init() int *type = atom->type; int *mask = atom->mask; int nlocal = atom->nlocal; - if (igroup == atom->firstgroup) nlocal = atom->nfirst; for (i = 0; i < nlocal; i++) if (mask[i] & groupbit) {