add removed commands to Deprecated commands list and processing
This commit is contained in:
@ -328,7 +328,7 @@ void PairKIM::coeff(int narg, char **arg)
|
|||||||
// This is called when "pair_coeff ..." is read from input
|
// This is called when "pair_coeff ..." is read from input
|
||||||
// may be called multiple times
|
// may be called multiple times
|
||||||
|
|
||||||
int i,j,n;
|
int i,j;
|
||||||
|
|
||||||
if (!allocated) allocate();
|
if (!allocated) allocate();
|
||||||
|
|
||||||
|
|||||||
@ -36,6 +36,9 @@ void Deprecated::command(int /* narg */, char ** /* arg */)
|
|||||||
} else if (cmd == "reset_ids") {
|
} else if (cmd == "reset_ids") {
|
||||||
if (lmp->comm->me == 0)
|
if (lmp->comm->me == 0)
|
||||||
utils::logmesg(lmp,"\n'reset_ids' has been renamed to 'reset_atom_ids'\n\n");
|
utils::logmesg(lmp,"\n'reset_ids' has been renamed to 'reset_atom_ids'\n\n");
|
||||||
|
} else if (utils::strmatch(cmd,"^kim_")) {
|
||||||
|
if (lmp->comm->me == 0)
|
||||||
|
utils::logmesg(lmp,"\n'kim_<command>' has been renamed to 'kim <command>'\n\n");
|
||||||
}
|
}
|
||||||
error->all(FLERR,"This command is no longer available");
|
error->all(FLERR,"This command is no longer available");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,6 +15,11 @@
|
|||||||
|
|
||||||
CommandStyle(DEPRECATED,Deprecated)
|
CommandStyle(DEPRECATED,Deprecated)
|
||||||
CommandStyle(reset_ids,Deprecated)
|
CommandStyle(reset_ids,Deprecated)
|
||||||
|
CommandStyle(kim_init,Deprecated)
|
||||||
|
CommandStyle(kim_interactions,Deprecated)
|
||||||
|
CommandStyle(kim_param,Deprecated)
|
||||||
|
CommandStyle(kim_property,Deprecated)
|
||||||
|
CommandStyle(kim_query,Deprecated)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user