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