From 2ee701f7191b7f84d18adf552fcd86393d279786 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 1 Feb 2021 18:43:42 -0500 Subject: [PATCH] also flush screen stdio buffer with thermo_modify flush yes --- src/thermo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/thermo.cpp b/src/thermo.cpp index 9197f88084..0e9defd165 100644 --- a/src/thermo.cpp +++ b/src/thermo.cpp @@ -381,6 +381,7 @@ void Thermo::compute(int flag) if (me == 0) { utils::logmesg(lmp,line); + if (screen && flushflag) fflush(screen); if (logfile && flushflag) fflush(logfile); }