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 SettingsSCHAXI_H__
13 #define SettingsSCHAXI_H__
14 
15 #include "constants.hpp"
16 #include <deal.II/base/types.h>
17 
18 using namespace dealii;
19 
26 {
27 public:
28  SettingsSCHAXI(){};
29 
34  const unsigned int nr_threads_max = 0;
35 
39  const double ep_0 = permittivity_fs;
40 
45  const double d = 0.2;
46 
51  const double rd = sqrt(2) * d;
52 
59  double a = 0.5;
60 
64  double b = 1.0;
65 
69 #if CYLINDER__ == 1
70  const double kappa_f = ep_0 / (a * std::log(b / a));
71 #endif
72 
73 #if CYLINDER__ == 0
74  const double kappa_f = ep_0 * b / (a * (b - a));
75 #endif
76 
80  const types::boundary_id bid = 1;
81 
86  const double eps = 1e-12;
87 
92  const bool print_time_tables = false;
93 
102  const bool project_exact_solution = false;
103 
111  const bool log_cg_convergence = false;
112 };
113 
114 using Settings = SettingsSCHAXI;
115 
116 #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 - surface charge (sch-axi/) numerical experiment.
Definition: settings.hpp:26