Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : #pragma once
5 :
6 : #include <memory>
7 : #include <string>
8 : #include <unordered_map>
9 :
10 : #include "Domain/FunctionsOfTime/FunctionOfTime.hpp"
11 :
12 : namespace domain::FunctionsOfTime {
13 : /*!
14 : * \brief Put time bounds for all functions of time in a nicely formatted string
15 : *
16 : * All time bounds are printed in the following format:
17 : *
18 : * \code
19 : * FunctionsOfTime time bounds:
20 : * Name1: (0.0000000000000000e+00,1.0000000000000000e+00)
21 : * Name2: (3.0000000000000000e+00,4.0000000000000000e+00)
22 : * ...
23 : * \endcode
24 : *
25 : */
26 1 : std::string output_time_bounds(
27 : const std::unordered_map<
28 : std::string, std::unique_ptr<domain::FunctionsOfTime::FunctionOfTime>>&
29 : functions_of_time);
30 : } // namespace domain::FunctionsOfTime
|