Added hexatic bond orientational order parameter

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14237 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2015-11-05 06:58:13 +00:00
parent 3bc7350704
commit fa9af07140
1 changed files with 4 additions and 4 deletions

View File

@ -47,13 +47,13 @@ ComputeHexOrderAtom::ComputeHexOrderAtom(LAMMPS *lmp, int narg, char **arg) :
int iarg = 3;
while (iarg < narg) {
if (strcmp(arg[iarg],"degree") == 0) {
if (iarg+1 > narg) error->all(FLERR,"Illegal lattice command");
if (strcmp(arg[iarg],"n") == 0) {
if (iarg+1 > narg) error->all(FLERR,"Illegal compute hexorder/atom command");
nnn = force->numeric(FLERR,arg[iarg+1]);
if (nnn < 0)
error->all(FLERR,"Illegal lattice command");
error->all(FLERR,"Illegal compute hexorder/atom command");
iarg += 2;
}
} else error->all(FLERR,"Illegal compute hexorder/atom command");
}
ncol = 2;