forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3257 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
586cc9f617
commit
f6ddb5e68d
|
@ -226,7 +226,7 @@ FixRigid::FixRigid(LAMMPS *lmp, int narg, char **arg) :
|
|||
if (strcmp(arg[iarg+2],"off") == 0) xflag = 0.0;
|
||||
else if (strcmp(arg[iarg+2],"on") == 0) xflag = 1.0;
|
||||
else error->all("Illegal fix rigid command");
|
||||
if (strcmp(arg[iarg+3],"off") == 0) yflag = 0.0;
|
||||
if (strcmp(arg[iarg+2],"off") == 0) yflag = 0.0;
|
||||
else if (strcmp(arg[iarg+3],"on") == 0) yflag = 1.0;
|
||||
else error->all("Illegal fix rigid command");
|
||||
if (strcmp(arg[iarg+4],"off") == 0) zflag = 0.0;
|
||||
|
|
Loading…
Reference in New Issue