make more use of utils::logmesg()

This commit is contained in:
Axel Kohlmeyer
2020-07-31 22:16:06 -04:00
parent 74f50ed1bd
commit 729cc81f31
11 changed files with 30 additions and 34 deletions

View File

@ -51,11 +51,10 @@ void DeleteBonds::command(int narg, char **arg)
// init entire system since comm->borders is done
// comm::init needs neighbor::init needs pair::init needs kspace::init, etc
if (comm->me == 0 && screen)
fprintf(screen,"System init for delete_bonds ...\n");
if (comm->me == 0) utils::logmesg(lmp,"System init for delete_bonds ...\n");
lmp->init();
if (comm->me == 0 && screen) fprintf(screen,"Deleting bonds ...\n");
if (comm->me == 0) utils::logmesg(lmp,"Deleting bonds ...\n");
// identify group