From 483feaaff9c823e6d79e701f473523ebbcd7a806 Mon Sep 17 00:00:00 2001 From: HomesGH <55833544+HomesGH@users.noreply.github.com> Date: Fri, 20 Dec 2024 20:03:38 +0100 Subject: [PATCH] Readability --- src/io/ResultWriter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/io/ResultWriter.cpp b/src/io/ResultWriter.cpp index 23c405892..9a385dadb 100644 --- a/src/io/ResultWriter.cpp +++ b/src/io/ResultWriter.cpp @@ -46,7 +46,8 @@ void ResultWriter::init(ParticleContainer * /*particleContainer*/, const auto nowStr = std::put_time(localtime_r(&now, &unused), "%c"); resultStream << "# ls1 MarDyn simulation started at " << nowStr << std::endl; resultStream << "# Averages are the accumulated values over " << _U_pot_acc->getWindowLength() << " time steps."<< std::endl; - resultStream << std::setw(10) << "simstep" << std::setw(_writeWidth) << "time" + resultStream << std::setw(10) << "simstep" + << std::setw(_writeWidth) << "time" << std::setw(_writeWidth) << "U_pot" << std::setw(_writeWidth) << "U_pot_avg" << std::setw(_writeWidth) << "U_kin"