forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1198 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
ebdb676071
commit
0890a06926
|
@ -79,9 +79,9 @@ ComputePressure::ComputePressure(LAMMPS *lmp, int narg, char **arg) :
|
||||||
else if (strcmp(arg[iarg],"angle") == 0) angleflag = 1;
|
else if (strcmp(arg[iarg],"angle") == 0) angleflag = 1;
|
||||||
else if (strcmp(arg[iarg],"dihedral") == 0) dihedralflag = 1;
|
else if (strcmp(arg[iarg],"dihedral") == 0) dihedralflag = 1;
|
||||||
else if (strcmp(arg[iarg],"improper") == 0) improperflag = 1;
|
else if (strcmp(arg[iarg],"improper") == 0) improperflag = 1;
|
||||||
else if (strcmp(arg[iarg],"fix") == 0) fixflag = 1;
|
|
||||||
else if (strcmp(arg[iarg],"kspace") == 0) kspaceflag = 1;
|
else if (strcmp(arg[iarg],"kspace") == 0) kspaceflag = 1;
|
||||||
else error->all("Illegal compute stress/atom command");
|
else if (strcmp(arg[iarg],"fix") == 0) fixflag = 1;
|
||||||
|
else error->all("Illegal compute pressure command");
|
||||||
iarg++;
|
iarg++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue