From 69ca8e5503faffcfd04f560b261ee2cd66a91e7c Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer <akohlmey@gmail.com> Date: Mon, 19 Mar 2018 18:57:28 -0400 Subject: [PATCH] print a message about the restored atom style --- src/read_restart.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/read_restart.cpp b/src/read_restart.cpp index 23c063c144..60d4a7199e 100644 --- a/src/read_restart.cpp +++ b/src/read_restart.cpp @@ -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; -- GitLab