Logbook  (07-04-2025)
Static problems
settings.hpp
1 /******************************************************************************
2  * Copyright (C) Siarhei Uzunbajakau, 2023.
3  *
4  * This program is free software. You can use, modify, and redistribute it under
5  * the terms of the GNU Lesser General Public License as published by the Free
6  * Software Foundation, either version 3 or (at your option) any later version.
7  * This program is distributed without any warranty.
8  *
9  * Refer to COPYING.LESSER for more details.
10  ******************************************************************************/
11 
12 #ifndef SettingsMWR_H__
13 #define SettingsMWR_H__
14 
15 #include "constants.hpp"
16 #include <deal.II/base/types.h>
17 
18 using namespace dealii;
19 
26 {
27 public:
28  SettingsMWR(){};
29 
34  const unsigned int nr_threads_max = 0;
35 
39  const double mu_0 = permeability_fs;
40 
44  const double J_f = 1.0;
45 
49  const double mu_r = 4.0;
50 
54  const double mu = mu_r * mu_0;
55 
59  const double d1 = 0.2;
60 
65  const double rd1 = sqrt(2) * d1;
66 
70  const double a = 0.5;
71 
75  const double b = 1.0;
76 
80  const double A_0 =
81  0.25 * mu_0 * J_f * a * a * log(exp(mu_r) * (b * b) / (a * a));
82 
86  const types::material_id mid_1 = 1;
87 
91  const types::material_id mid_2 = 2;
92 
97  const types::boundary_id bid = 1;
98 
103  const double eps = 1e-12;
104 
109  const bool print_time_tables = false;
110 
119  const bool project_exact_solution = false;
120 
128  const bool log_cg_convergence = false;
129 };
130 
131 using Settings = SettingsMWR;
132 
133 #endif
Lists physical constants.
Definition: constants.hpp:28
Global settings for the Method of manufactured solutions (mms/) numerical experiment.
Definition: settings.hpp:25
Global settings for the Magnetic wire (mwr/) numerical experiment.
Definition: settings.hpp:26