provide compatibility entries in FixNH option parsing for new USER-UEF package

This commit is contained in:
Axel Kohlmeyer 2017-10-02 15:53:28 -04:00
parent 4524b0fa83
commit 0c7879e902
1 changed files with 9 additions and 0 deletions

View File

@ -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");
}