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 SettingsSSOLIAXI_H__
13 #define SettingsSSOLIAXI_H__
14 
15 #include "constants.hpp"
16 #include <deal.II/base/types.h>
17 
18 using namespace dealii;
19 
20 enum BoundaryConditionType
21 {
22  Dirichlet,
23  Exact
24 };
25 
32 {
33 public:
34  SettingsSSOLIAXI(){};
35 
40  const unsigned int nr_threads_max = 0;
41 
45  const double mu_0 = permeability_fs;
46 
51  const double K_0 = 1.0;
52 
56  const double d = 0.2;
57 
62  const double rd = sqrt(2) * d;
63 
67  double a = 0.5;
68 
72  double b = 1.0;
73 
79  const types::boundary_id bid_infty = 3;
80 
86  const types::boundary_id bid_axi = 1;
87 
91  const BoundaryConditionType type_of_bc = Exact;
92 
97  const double eps = 1e-12;
98 
103  const bool print_time_tables = false;
104 
113  const bool project_exact_solution = false;
114 
122  const bool log_cg_convergence = false;
123 };
124 
125 using Settings = SettingsSSOLIAXI;
126 
127 #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 Axisymmetric - thin spherical coil (ssol-i-axi) numerical experiment.
Definition: settings.hpp:32