From 10856c131c5ce668ea4c32b51f75e94d64c5724f Mon Sep 17 00:00:00 2001 From: "armindamon.riess" <armindamon.riess@uzh.ch> Date: Wed, 14 Dec 2022 15:07:24 +0100 Subject: [PATCH] don't save header in energy.dat --- lib/nBodySim.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/nBodySim.cpp b/lib/nBodySim.cpp index 256152e..cf6a5f7 100644 --- a/lib/nBodySim.cpp +++ b/lib/nBodySim.cpp @@ -68,7 +68,6 @@ void nBodySim::runSimulation(double dt, unsigned nSteps) { std::ofstream energyFile("../out/energy.dat"); positionsFile << nParticles_ << " " << skip << " " << dt << std::endl; - energyFile << nParticles_ << " " << skip << " " << dt << std::endl; for (unsigned i=0; i < nSteps; ++i) { -- GitLab