From 0c7879e9024309c54b5c5caf39c4b242b8e9e7b5 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 2 Oct 2017 15:53:28 -0400 Subject: [PATCH] provide compatibility entries in FixNH option parsing for new USER-UEF package --- src/fix_nh.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/fix_nh.cpp b/src/fix_nh.cpp index c99c7a34bd..f95bde95d0 100644 --- a/src/fix_nh.cpp +++ b/src/fix_nh.cpp @@ -353,6 +353,15 @@ FixNH::FixNH(LAMMPS *lmp, int narg, char **arg) : } else if (strcmp(arg[iarg],"disc") == 0) { iarg++; + // keywords erate, strain, and ext are also parsed in fix/nh/uef + + } else if (strcmp(arg[iarg],"erate") == 0) { + iarg += 3; + } else if (strcmp(arg[iarg],"strain") == 0) { + iarg += 3; + } else if (strcmp(arg[iarg],"ext") == 0) { + iarg += 2; + } else error->all(FLERR,"Illegal fix nvt/npt/nph command"); }