version 3.8
Dumux::Chrono Namespace Reference

Functions

template<typename Rep , typename Period >
void toDuration (std::chrono::duration< Rep, Period > &duration, const std::string &s)
 Try to construct a std::chrono::duration from a string. More...
 
template<typename Rep = double>
std::chrono::duration< Rep > toSeconds (const std::string &s)
 Try to construct an instance of std::chrono::seconds from a string including a unit suffix. More...
 

Function Documentation

◆ toDuration()

template<typename Rep , typename Period >
void Dumux::Chrono::toDuration ( std::chrono::duration< Rep, Period > &  duration,
const std::string &  s 
)

◆ toSeconds()

template<typename Rep = double>
std::chrono::duration< Rep > Dumux::Chrono::toSeconds ( const std::string &  s)