add a deprecation warning to pair style meam and make the reax one consistent with it

This commit is contained in:
Axel Kohlmeyer
2017-08-09 16:36:51 -04:00
parent 6780c73907
commit 210a77c5a0
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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;