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 SettingsSSOLIII_H__
13 #define SettingsSSOLIII_H__
14 
15 #include "constants.hpp"
16 #include <deal.II/base/types.h>
17 
18 using namespace dealii;
19 
26 {
27 public:
28  SettingsSSOLIII(){};
29 
34  const unsigned int nr_threads_max = 0;
35 
39  const double mu_0 = permeability_fs;
40 
44  const double mu_r = 4;
45 
49  const double mu = mu_r * mu_0;
50 
54  const double d1 = 0.1;
55 
60  const double rd1 = sqrt(3) * d1;
61 
65  const double a1 = 0.3;
66 
70  const double b1 = 0.6;
71 
75  const double a2 = 0.9;
76 
80  const double b2 = 1.2;
81 
86  const double d2 = 2.0;
87 
91  const double d3 = 3.0;
92 
97  const double K_0 = 1.0;
98 
103  const double H_0 = (1.0 / 3.0) * K_0 * (pow(b2, 2) - pow(a2, 2));
104 
109  const types::material_id mid_1 = 1;
110 
115  const types::material_id mid_2 = 2;
116 
121  const types::material_id mid_3 = 3;
122 
127  const double eps = 1e-12;
128 
133  const bool print_time_tables = false;
134 
143  const bool project_exact_solution = false;
144 
152  const bool log_cg_convergence = false;
153 };
154 
155 using Settings = SettingsSSOLIII;
156 
157 #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 Spherical coil with magnetic core (ssol-iii/) numerical experiment.
Definition: settings.hpp:26