apply airebo/m bugfix also to USER-OMP version

This commit is contained in:
Axel Kohlmeyer 2017-03-23 14:14:49 -04:00
parent 9ecc5c8cf7
commit 5c9892c083
2 changed files with 2 additions and 9 deletions

View File

@ -27,7 +27,7 @@ PairAIREBOMorse::PairAIREBOMorse(LAMMPS *lmp) : PairAIREBO(lmp) {}
void PairAIREBOMorse::settings(int narg, char **arg)
{
PairAIREBO::settings(narg, arg);
PairAIREBO::settings(narg,arg);
morseflag = 1;
}

View File

@ -27,14 +27,7 @@ PairAIREBOMorseOMP::PairAIREBOMorseOMP(LAMMPS *lmp) : PairAIREBOOMP(lmp) {}
void PairAIREBOMorseOMP::settings(int narg, char **arg)
{
if (narg != 1 && narg != 3) error->all(FLERR,"Illegal pair_style command");
cutlj = force->numeric(FLERR,arg[0]);
if (narg == 3) {
ljflag = force->inumeric(FLERR,arg[1]);
torflag = force->inumeric(FLERR,arg[2]);
}
PairAIREBOOMP::settings(narg,arg);
morseflag = 1;
}