Skip to content
Snippets Groups Projects
Commit b399e2e4 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15312 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 7d2809dd
No related branches found
No related tags found
No related merge requests found
...@@ -187,9 +187,11 @@ FixWallGran::FixWallGran(LAMMPS *lmp, int narg, char **arg) : ...@@ -187,9 +187,11 @@ FixWallGran::FixWallGran(LAMMPS *lmp, int narg, char **arg) :
// initialize as if particle is not touching wall // initialize as if particle is not touching wall
int nlocal = atom->nlocal; if (history) {
for (int i = 0; i < nlocal; i++) int nlocal = atom->nlocal;
shear[i][0] = shear[i][1] = shear[i][2] = 0.0; for (int i = 0; i < nlocal; i++)
shear[i][0] = shear[i][1] = shear[i][2] = 0.0;
}
time_origin = update->ntimestep; time_origin = update->ntimestep;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment