make the deprecation warning nicer looking

This commit is contained in:
Axel Kohlmeyer 2017-08-09 19:13:40 -04:00
parent f01103dd08
commit 77a628e4ef
2 changed files with 4 additions and 4 deletions

View File

@ -48,8 +48,8 @@ static const char *keywords[] = {
PairMEAM::PairMEAM(LAMMPS *lmp) : Pair(lmp) PairMEAM::PairMEAM(LAMMPS *lmp) : Pair(lmp)
{ {
if (comm->me == 0) if (comm->me == 0)
error->warning(FLERR,"The pair_style meam command is unsupported " error->warning(FLERR,"The pair_style meam command is unsupported. "
"- please use pair_style meam/c instead"); "Please use pair_style meam/c instead");
single_enable = 0; single_enable = 0;
restartinfo = 0; restartinfo = 0;

View File

@ -46,8 +46,8 @@ using namespace LAMMPS_NS;
PairREAX::PairREAX(LAMMPS *lmp) : Pair(lmp) PairREAX::PairREAX(LAMMPS *lmp) : Pair(lmp)
{ {
if (comm->me == 0) if (comm->me == 0)
error->warning(FLERR,"The pair_style reax command is unsupported" error->warning(FLERR,"The pair_style reax command is unsupported. "
"- please switch to pair_style reax/c instead"); "Please switch to pair_style reax/c instead");
single_enable = 0; single_enable = 0;
restartinfo = 0; restartinfo = 0;