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 SettingsRHO_H__
13 #define SettingsRHO_H__
14 
15 #include "constants.hpp"
16 #include <deal.II/base/types.h>
17 
18 using namespace dealii;
19 
25 {
26 public:
27  SettingsRHO(){};
28 
33  const unsigned int nr_threads_max = 0;
34 
38  const double ep_0 = permittivity_fs;
39 
43  const double rho_0 = 1.0 * ep_0;
44 
50  double a = 0.5;
51 
55  double b = 1.0;
56 
60  double d1 = 0.2;
61 
66  const double rd1 = sqrt(DIMENSION__) * d1;
67 
72  const types::material_id mid_1 = 1;
73 
77  const types::material_id mid_2 = 2;
78 
83  const types::boundary_id bid = 1;
84 
89  const double eps = 1e-12;
90 
95  const bool print_time_tables = false;
96 
105  const bool project_exact_solution = false;
106 
114  const bool log_cg_convergence = false;
115 };
116 
117 using Settings = SettingsRHO;
118 
119 #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 Volume charge (rho/) numerical experiment.
Definition: settings.hpp:25