Molecular Dynamics Simulation  1.0
FormatTime.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
13 std::string format_seconds_eta(int total_seconds);
14 
25 std::string format_mup_s(double mup_s);
26 
35 std::string format_seconds_total(double total_seconds);
std::string format_seconds_total(double total_seconds)
Formats the given seconds into a string of the form "HHh MMm SSs MMMms".
Definition: FormatTime.cpp:34
std::string format_seconds_eta(int total_seconds)
Formats the given seconds into a string of the form "HH:MM:SS".
Definition: FormatTime.cpp:5
std::string format_mup_s(double mup_s)
Formats the given mup/s into a string.
Definition: FormatTime.cpp:17