From a9c3b8aca0aafc34f07e4a04ed58f1fa5a6c1973 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 10 Dec 2018 12:11:56 -0500 Subject: [PATCH] add reax to DEPRECATED pair style and state when it was removed from LAMMPS --- src/pair_deprecated.cpp | 4 ++++ src/pair_deprecated.h | 1 + 2 files changed, 5 insertions(+) diff --git a/src/pair_deprecated.cpp b/src/pair_deprecated.cpp index d8b3716341..5d05d4d739 100644 --- a/src/pair_deprecated.cpp +++ b/src/pair_deprecated.cpp @@ -48,6 +48,10 @@ void PairDeprecated::settings(int, char **) my_style = hybrid->keywords[hybrid->nstyles]; } + if (strcmp(my_style,"reax") == 0) { + writemsg(lmp,"\nPair style 'reax' has been removed from LAMMPS " + "after the 12 December 2018 version\n\n",1); + if (strcmp(my_style,"DEPRECATED") == 0) { writemsg(lmp,"\nPair style 'DEPRECATED' is a dummy style\n\n",0); diff --git a/src/pair_deprecated.h b/src/pair_deprecated.h index 29d6efffaf..029ec5e6d4 100644 --- a/src/pair_deprecated.h +++ b/src/pair_deprecated.h @@ -14,6 +14,7 @@ #ifdef PAIR_CLASS PairStyle(DEPRECATED,PairDeprecated) +PairStyle(reax,PairDeprecated) #else