print complete read_data and special output to both screen and logfile

This commit is contained in:
Axel Kohlmeyer
2020-07-22 07:23:33 -04:00
parent 938175d2bc
commit feebdf9149
2 changed files with 8 additions and 7 deletions

View File

@ -414,7 +414,7 @@ void ReadData::command(int narg, char **arg)
// open file on proc 0
if (me == 0) {
if (firstpass && screen) fprintf(screen,"Reading data file ...\n");
if (firstpass) utils::logmesg(lmp,"Reading data file ...\n");
open(arg[0]);
} else fp = NULL;