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

This commit is contained in:
sjplimp 2016-07-13 14:43:40 +00:00
parent e58791e29d
commit 92e5aae7bb
1 changed files with 3 additions and 3 deletions

View File

@ -248,6 +248,9 @@ void FixWallGran::post_force(int vflag)
{
double vwall[3],dx,dy,dz,del1,del2,delxy,delr,rsq;
shearupdate = 1;
if (update->setupflag) shearupdate = 0;
// set position of wall to initial settings and velocity to 0.0
// if wiggle or shear, set wall position and velocity accordingly
@ -283,9 +286,6 @@ void FixWallGran::post_force(int vflag)
int *mask = atom->mask;
int nlocal = atom->nlocal;
shearupdate = 1;
if (update->setupflag) shearupdate = 0;
for (int i = 0; i < nlocal; i++) {
if (mask[i] & groupbit) {