add deprecation handling removed commands and styles

This commit is contained in:
Axel Kohlmeyer
2022-04-08 17:25:56 -04:00
parent 792ae5dae5
commit f405c7acc9
4 changed files with 20 additions and 13 deletions

View File

@ -46,10 +46,12 @@ FixDeprecated::FixDeprecated(LAMMPS *lmp, int narg, char **arg) :
} else if (my_style == "lb/pc") {
utils::logmesg(lmp,"\nFix style 'lb/pc' has been removed from the LATBOLTZ"
" package; 'fix nve' can be used in its place.\n\n");
}
else if (my_style == "lb/rigid/pc/sphere") {
} else if (my_style == "lb/rigid/pc/sphere") {
utils::logmesg(lmp,"\nFix style 'lb/rigid/pc/sphere' has been removed from"
" the LATBOLTZ package; 'fix rigid' can be used in its place.\n\n");
} else if (my_style == "client/md") {
if (lmp->comm->me == 0)
utils::logmesg(lmp, "\nThe MESSAGE package has been replaced by the MDI package.\n\n");
}
error->all(FLERR,"This fix style is no longer available");
}