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

This commit is contained in:
sjplimp
2008-02-15 19:06:53 +00:00
parent 9fa38a6e94
commit 9864ead231
27 changed files with 243 additions and 110 deletions

View File

@ -79,6 +79,7 @@ void FixEnforce2D::post_force(int vflag)
double **f = atom->f;
int *mask = atom->mask;
int nlocal = atom->nlocal;
if (igroup == atom->firstgroup) nlocal = atom->nfirst;
for (int i = 0; i < nlocal; i++)
if (mask[i] & groupbit) {