From fa9af07140ba0f4b1c3a230ef8b3df46a8e4eaeb Mon Sep 17 00:00:00 2001 From: athomps Date: Thu, 5 Nov 2015 06:58:13 +0000 Subject: [PATCH] Added hexatic bond orientational order parameter git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14237 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/compute_hexorder_atom.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/compute_hexorder_atom.cpp b/src/compute_hexorder_atom.cpp index dcecf50d7f..c33e3a28e0 100644 --- a/src/compute_hexorder_atom.cpp +++ b/src/compute_hexorder_atom.cpp @@ -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;