forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15298 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
e58791e29d
commit
92e5aae7bb
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue