Commit 210a77c5 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

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

parent 6780c739
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
+2 −2
Original line number Diff line number Diff line
@@ -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;