Skip to content

Commit

Permalink
BinaryBH: Increase precision of printed duration
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
mirenradia committed Apr 24, 2024
1 parent 0d82fc4 commit df07145
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/BinaryBH/Main_BinaryBH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ int runGRTeclyn(int /*argc*/, char * /*argv*/[])
auto elapsed = std::chrono::duration_cast<std::chrono::duration<double>>(
end_time - start_time);

amrex::Print() << "Total simulation time = " << elapsed.count()
<< " secs\n";
amrex::Print().SetPrecision(16)
<< "Total simulation time = " << elapsed.count() << " secs\n";

// Write final checkpoint and plotfile
if (bh_amr.stepOfLastCheckPoint() < bh_amr.levelSteps(0) &&
Expand Down

0 comments on commit df07145

Please sign in to comment.