From a208f1fc39d7cb9706b4fd23972e27912f51133b Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 23 Mar 2022 10:48:15 -0400 Subject: [PATCH] minor tweak to one style thermo output for keeping columns straight --- src/thermo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thermo.cpp b/src/thermo.cpp index dbeabd5fb1..e1534f11bd 100644 --- a/src/thermo.cpp +++ b/src/thermo.cpp @@ -71,7 +71,7 @@ using namespace MathConst; enum { ONELINE, MULTILINE, YAMLLINE }; // style "one" static constexpr char ONE[] = "step temp epair emol etotal press"; -#define FORMAT_FLOAT_ONE_DEFAULT "% -12.8g" +#define FORMAT_FLOAT_ONE_DEFAULT "% -14.8g" #define FORMAT_INT_ONE_DEFAULT "%10d " // style "multi" static constexpr char MULTI[] = @@ -326,7 +326,7 @@ void Thermo::header() for (int i = 0; i < nfield; i++) { if (lineflag == ONELINE) { if (vtype[i] == FLOAT) - hdr += fmt::format("{:^12} ", keyword[i]); + hdr += fmt::format("{:^14} ", keyword[i]); else if ((vtype[i] == INT) || (vtype[i] == BIGINT)) hdr += fmt::format("{:^11} ", keyword[i]); } else if (lineflag == YAMLLINE) {