Skip to content

Commit

Permalink
Improve parsability of output of ResultWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
HomesGH authored Dec 20, 2024
1 parent 2a9cd42 commit 5fd0647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/ResultWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ 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) << "# step" << 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"
Expand Down

0 comments on commit 5fd0647

Please sign in to comment.