From 2f1d3db6d8c3196abc09f2e5452c9d3b0afd9147 Mon Sep 17 00:00:00 2001 From: Alejandro Gallo Date: Tue, 5 Oct 2021 17:51:46 +0200 Subject: [PATCH] Change the printing of the energy --- atrip.org | 2 +- src/atrip/Atrip.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atrip.org b/atrip.org index 4b783a8..57b3be1 100644 --- a/atrip.org +++ b/atrip.org @@ -2396,7 +2396,7 @@ Atrip::Output Atrip::run(Atrip::Input const& in) { MPI_Reduce(&energy, &globalEnergy, 1, MPI_DOUBLE, MPI_SUM, 0, universe); WITH_RANK << "local energy " << energy << "\n"; - LOG(0,"LOOP FINISHED, energy") + LOG(0, "Atrip") << "Energy: " << std::setprecision(15) << std::setw(23) << globalEnergy << std::endl; diff --git a/src/atrip/Atrip.cxx b/src/atrip/Atrip.cxx index d33ee70..83cfacb 100644 --- a/src/atrip/Atrip.cxx +++ b/src/atrip/Atrip.cxx @@ -520,7 +520,7 @@ Atrip::Output Atrip::run(Atrip::Input const& in) { MPI_Reduce(&energy, &globalEnergy, 1, MPI_DOUBLE, MPI_SUM, 0, universe); WITH_RANK << "local energy " << energy << "\n"; - LOG(0,"LOOP FINISHED, energy") + LOG(0, "Atrip") << "Energy: " << std::setprecision(15) << std::setw(23) << globalEnergy << std::endl;