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

This commit is contained in:
sjplimp 2014-01-29 22:24:34 +00:00
parent 89a4708824
commit 8c9aa159b4
1 changed files with 4 additions and 4 deletions

View File

@ -132,8 +132,8 @@ FixGLD::FixGLD(LAMMPS *lmp, int narg, char **arg) :
if (iarg+2 > narg) { if (iarg+2 > narg) {
error->all(FLERR, "Illegal fix gld command"); error->all(FLERR, "Illegal fix gld command");
} }
if (strcmp(arg[iarg+1],"no") == 0) if (strcmp(arg[iarg+1],"no") == 0) {
else if (strcmp(arg[iarg+1],"yes") == 0) { } else if (strcmp(arg[iarg+1],"yes") == 0) {
zeroflag = 1; zeroflag = 1;
} else { } else {
error->all(FLERR,"Illegal fix gld command"); error->all(FLERR,"Illegal fix gld command");
@ -144,8 +144,8 @@ FixGLD::FixGLD(LAMMPS *lmp, int narg, char **arg) :
if (iarg+2 > narg) { if (iarg+2 > narg) {
error->all(FLERR, "Illegal fix gld command"); error->all(FLERR, "Illegal fix gld command");
} }
if (strcmp(arg[iarg+1],"no") == 0) if (strcmp(arg[iarg+1],"no") == 0) {
else if (strcmp(arg[iarg+1],"yes") == 0) { } else if (strcmp(arg[iarg+1],"yes") == 0) {
freezeflag = 1; freezeflag = 1;
for (int i = 0; i < atom->nlocal; i++) { for (int i = 0; i < atom->nlocal; i++) {
if (atom->mask[i] & groupbit) { if (atom->mask[i] & groupbit) {