Skip to content

Commit

Permalink
print a message about the restored atom style
Browse files Browse the repository at this point in the history
  • Loading branch information
akohlmey committed Mar 19, 2018
1 parent 5cdc609 commit 69ca8e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/read_restart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 69ca8e5

Please sign in to comment.