add deprecation handling removed commands and styles
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user