enable and apply clang-format, remove redundant code, improve error message for EAM potential pair styles

This commit is contained in:
Axel Kohlmeyer
2023-03-25 06:48:59 -04:00
parent 7edb42f190
commit 22a1cf935e
16 changed files with 385 additions and 424 deletions

View File

@ -821,7 +821,7 @@ void Pair::map_element2type(int narg, char **arg, bool update_setflag)
// elements = list of element names
if (narg != ntypes)
error->all(FLERR,"Number of element to type mappings does not match number of atom types");
error->all(FLERR, "Number of element to type mappings does not match number of atom types");
if (elements) {
for (i = 0; i < nelements; i++) delete[] elements[i];