Phyth v0.1.0
A dimensional safe C++ header-only mechanics and electromagnetics simulation library.
Loading...
Searching...
No Matches
Config.hpp
Go to the documentation of this file.
1#ifndef PHYTH_CONFIG_HPP
2#define PHYTH_CONFIG_HPP
3
4namespace Phyth {
5 enum class OutputMode {
6 Auto,
7 Raw
8 };
9
10
11 namespace Config {
13 inline double epsilon = 1e-6;
14 inline int max_iterations = 50;
15 inline double tolerance = 1e-12;
16
17 inline void Reset() noexcept {
19 epsilon = 1e-6;
20 max_iterations = 50;
21 tolerance = 1e-12;
22 }
23 }
24}
25#endif //PHYTH_CONFIG_HPP
int max_iterations
Definition Config.hpp:14
double epsilon
Definition Config.hpp:13
void Reset() noexcept
Definition Config.hpp:17
auto output_mode
Definition Config.hpp:12
double tolerance
Definition Config.hpp:15
constexpr bool is_unit_v
Definition Unit.hpp:79
OutputMode
Definition Config.hpp:5