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