From 6796dc34ad3bd805c907feb61ea47a50c3eb0f3c Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 15 Nov 2024 10:42:30 -0500 Subject: [PATCH] clang-format --- src/REAXFF/fix_reaxff_species.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/REAXFF/fix_reaxff_species.cpp b/src/REAXFF/fix_reaxff_species.cpp index 0ded498c31..915b2b0dd0 100644 --- a/src/REAXFF/fix_reaxff_species.cpp +++ b/src/REAXFF/fix_reaxff_species.cpp @@ -194,8 +194,7 @@ FixReaxFFSpecies::FixReaxFFSpecies(LAMMPS *lmp, int narg, char **arg) : if (iarg + ntypes + 1 > narg) utils::missing_cmd_args(FLERR, "fix reaxff/species element", error); - for (int i = 0; i < ntypes; i++) - eletype[i] = arg[iarg + 1 + i]; + for (int i = 0; i < ntypes; i++) eletype[i] = arg[iarg + 1 + i]; GetUniqueElements(); iarg += ntypes + 1; @@ -349,8 +348,7 @@ void FixReaxFFSpecies::setup(int /*vflag*/) ntotal = static_cast(atom->natoms); if (!eleflag) { - for (int i = 0; i < ntypes; i++) - eletype[i] = reaxff->eletype[i+1]; + for (int i = 0; i < ntypes; i++) eletype[i] = reaxff->eletype[i + 1]; GetUniqueElements(); } memory->destroy(Name);