print a message about the restored atom style

This commit is contained in:
Axel Kohlmeyer 2018-03-19 18:57:28 -04:00
parent 5cdc6097f4
commit 69ca8e5503
1 changed files with 6 additions and 0 deletions

View File

@ -832,6 +832,12 @@ void ReadRestart::header(int incompatible)
for (int i = 0; i < nargcopy; i++)
argcopy[i] = read_string();
atom->create_avec(style,nargcopy,argcopy,1);
if (comm->me ==0) {
if (screen) fprintf(screen," restoring atom style %s from "
"restart\n", style);
if (logfile) fprintf(logfile," restoring atom style %s from "
"restart\n", style);
}
for (int i = 0; i < nargcopy; i++) delete [] argcopy[i];
delete [] argcopy;
delete [] style;