add a deprecation warning to pair style meam and make the reax one consistent with it
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user