git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8226 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
Copyright (2003) Sandia Corporation. Under the terms of Contract
|
||||
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
|
||||
certain rights in this software. This software is distributed under
|
||||
certain rights in this software. This software is distributed under
|
||||
the GNU General Public License.
|
||||
|
||||
See the README file in the top-level LAMMPS directory.
|
||||
@ -94,8 +94,8 @@ void FixEnforce2D::post_force(int vflag)
|
||||
double **omega = atom->omega;
|
||||
for (int i = 0; i < nlocal; i++)
|
||||
if (mask[i] & groupbit) {
|
||||
omega[i][0] = 0.0;
|
||||
omega[i][1] = 0.0;
|
||||
omega[i][0] = 0.0;
|
||||
omega[i][1] = 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -103,8 +103,8 @@ void FixEnforce2D::post_force(int vflag)
|
||||
double **angmom = atom->angmom;
|
||||
for (int i = 0; i < nlocal; i++)
|
||||
if (mask[i] & groupbit) {
|
||||
angmom[i][0] = 0.0;
|
||||
angmom[i][1] = 0.0;
|
||||
angmom[i][0] = 0.0;
|
||||
angmom[i][1] = 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -112,8 +112,8 @@ void FixEnforce2D::post_force(int vflag)
|
||||
double **torque = atom->torque;
|
||||
for (int i = 0; i < nlocal; i++)
|
||||
if (mask[i] & groupbit) {
|
||||
torque[i][0] = 0.0;
|
||||
torque[i][1] = 0.0;
|
||||
torque[i][0] = 0.0;
|
||||
torque[i][1] = 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user