forked from lijiext/lammps
apply airebo/m bugfix also to USER-OMP version
This commit is contained in:
parent
9ecc5c8cf7
commit
5c9892c083
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue