From 301bd9590054d3b7e3d72006e626dff6a47841c3 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 12 May 2022 13:17:51 -0400 Subject: [PATCH] small tweak --- 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 80460147ed..a89cd6f0dc 100644 --- a/src/REAXFF/fix_reaxff_species.cpp +++ b/src/REAXFF/fix_reaxff_species.cpp @@ -97,7 +97,7 @@ FixReaxFFSpecies::FixReaxFFSpecies(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, if (me == 0 && rene_flag) error->warning(FLERR, "Resetting reneighboring criteria to 'delay {} every {} check no' " - "for fix reaxff/species", + "due to fix reaxff/species", neighbor->delay, neighbor->every); if (me == 0) { @@ -277,9 +277,7 @@ void FixReaxFFSpecies::init() reaxff = dynamic_cast(force->pair_match("^reax..", 0)); if (reaxff == nullptr) - error->all(FLERR, - "Cannot use fix reaxff/species without " - "pair_style reaxff, reaxff/kk, or reaxff/omp"); + error->all(FLERR, "Cannot use fix reaxff/species without a reaxff pair_style"); reaxff->fixspecies_flag = 1;