forked from lijiext/lammps
make the deprecation warning nicer looking
This commit is contained in:
parent
f01103dd08
commit
77a628e4ef
|
@ -48,8 +48,8 @@ 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");
|
||||
error->warning(FLERR,"The pair_style meam command is unsupported. "
|
||||
"Please use pair_style meam/c instead");
|
||||
|
||||
single_enable = 0;
|
||||
restartinfo = 0;
|
||||
|
|
|
@ -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 is unsupported"
|
||||
"- please switch to pair_style reax/c instead");
|
||||
error->warning(FLERR,"The pair_style reax command is unsupported. "
|
||||
"Please switch to pair_style reax/c instead");
|
||||
|
||||
single_enable = 0;
|
||||
restartinfo = 0;
|
||||
|
|
Loading…
Reference in New Issue