From 210a77c5a0ea7574c031e2783c8a038ecda54483 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer <akohlmey@gmail.com> Date: Wed, 9 Aug 2017 16:36:51 -0400 Subject: [PATCH] add a deprecation warning to pair style meam and make the reax one consistent with it --- src/MEAM/pair_meam.cpp | 4 ++++ src/REAX/pair_reax.cpp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/MEAM/pair_meam.cpp b/src/MEAM/pair_meam.cpp index ede89a83c2..c69df4bf9f 100644 --- a/src/MEAM/pair_meam.cpp +++ b/src/MEAM/pair_meam.cpp @@ -47,6 +47,10 @@ static const char *keywords[] = { PairMEAM::PairMEAM(LAMMPS *lmp) : Pair(lmp) { + if (comm->me == 0) + error->warning(FLERR,"The pair_style meam command is unsupported " + "- please use pair_style meam/c instead"); + single_enable = 0; restartinfo = 0; one_coeff = 1; diff --git a/src/REAX/pair_reax.cpp b/src/REAX/pair_reax.cpp index fca24a2268..45fee71c8d 100644 --- a/src/REAX/pair_reax.cpp +++ b/src/REAX/pair_reax.cpp @@ -46,8 +46,8 @@ using namespace LAMMPS_NS; PairREAX::PairREAX(LAMMPS *lmp) : Pair(lmp) { if (comm->me == 0) - error->warning(FLERR,"The pair_style reax command will be deprecated " - "soon - users should switch to pair_style reax/c"); + error->warning(FLERR,"The pair_style reax command is unsupported" + "- please switch to pair_style reax/c instead"); single_enable = 0; restartinfo = 0; -- GitLab