Skip to content
Snippets Groups Projects
Commit 69ca8e55 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

print a message about the restored atom style

parent 5cdc6097
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment