add pair_style deprecated and some tweaks for fix style
This commit is contained in:
@ -23,6 +23,16 @@ using namespace LAMMPS_NS;
|
||||
FixDeprecated::FixDeprecated(LAMMPS *lmp, int narg, char **arg) :
|
||||
Fix(lmp, narg, arg)
|
||||
{
|
||||
if (strcmp(style,"deprecated") == 0) {
|
||||
const char *message = "\n"
|
||||
"NOTE: The fix style 'deprecated' is a dummy fix style that was added to\n"
|
||||
"LAMMPS in order to print suitable error messages for deleted features.\n\n";
|
||||
|
||||
if (comm->me == 0) {
|
||||
if (screen) fputs(message,screen);
|
||||
if (logfile) fputs(message,logfile);
|
||||
}
|
||||
}
|
||||
if (strncmp(style,"ave/spatial",11) == 0) {
|
||||
const char *message = "\n"
|
||||
"NOTE: The fix styles 'ave/spatial' and 'ave/spatial/sphere' have been replaced\n"
|
||||
|
||||
Reference in New Issue
Block a user