Update pair_e3b.cpp

This commit is contained in:
Jacob Gissinger
2024-08-13 18:48:35 -04:00
committed by GitHub
parent 8dd655dd1c
commit 726311f8d2

View File

@ -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;