Update pair_e3b.cpp
This commit is contained in:
@ -387,7 +387,8 @@ void PairE3B::coeff(int narg, char **arg)
|
|||||||
//1=* 2=* 3/4=1st keyword/value
|
//1=* 2=* 3/4=1st keyword/value
|
||||||
if (narg < 4) error->all(FLERR, "There must be at least one keyword given to pair_coeff");
|
if (narg < 4) error->all(FLERR, "There must be at least one keyword given to pair_coeff");
|
||||||
|
|
||||||
typeO = utils::expand_type_int(FLERR, typeO_str, Atom::ATOM, lmp);
|
if (typeO_str.size() > 0)
|
||||||
|
typeO = utils::expand_type_int(FLERR, typeO_str, Atom::ATOM, lmp);
|
||||||
|
|
||||||
// clear setflag since coeff() called once with I,J = * *
|
// clear setflag since coeff() called once with I,J = * *
|
||||||
int n = atom->ntypes;
|
int n = atom->ntypes;
|
||||||
|
|||||||
Reference in New Issue
Block a user