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

@ -87,8 +87,7 @@ void WriteRestart::command(int narg, char **arg)
// comm::init needs neighbor::init needs pair::init needs kspace::init, etc
if (noinit == 0) {
if (comm->me == 0 && screen)
fprintf(screen,"System init for write_restart ...\n");
if (comm->me == 0) utils::logmesg(lmp,"System init for write_restart ...\n");
lmp->init();
// move atoms to new processors before writing file