Describes exact solution, \(\vec{B}\), of the Magnetic wire (mwr/) numerical experiment. More...
#include <exact_solution.hpp>


Public Member Functions | |
| virtual void | vector_value_list (const std::vector< Point< 2 >> &r, std::vector< Vector< double >> &values) const final |
Additional Inherited Members | |
Public Attributes inherited from SettingsMWR | |
| const unsigned int | nr_threads_max = 0 |
| If greater than zero, limits the amount of threads used in the simulations. | |
| const double | mu_0 = permeability_fs |
| The permeability of free space. | |
| const double | J_f = 1.0 |
| The current density. | |
| const double | mu_r = 4.0 |
| The relative permeability of the material of the wire. | |
| const double | mu = mu_r * mu_0 |
| The permeability of the material of the wire. | |
| const double | d1 = 0.2 |
| The half-side of the square in the middle of the mesh. | |
| const double | rd1 = sqrt(2) * d1 |
| The radius of the circle that encloses the square in the middle of the mesh. | |
| const double | a = 0.5 |
| The radius of the wire. | |
| const double | b = 1.0 |
| The radius of the outer boundary of the problem domain. | |
| const double | A_0 |
| A constant used to compute the exact solution. More... | |
| const types::material_id | mid_1 = 1 |
| The ID of the material inside the wire. | |
| const types::material_id | mid_2 = 2 |
| The ID of the material outside the wire. | |
| const types::boundary_id | bid = 1 |
| The ID of the boundary of the problem domain. The boundary ID is set in the geo files that are located in the mwr/gmsh directory. | |
| const double | eps = 1e-12 |
| Two values in double format are considered to be equal if the absolute value of their difference is less than eps. | |
| const bool | print_time_tables = false |
| If set to true, the program will print time tables on the screen. | |
| const bool | project_exact_solution = false |
| If set to true, the program will project the exact solution. More... | |
| const bool | log_cg_convergence = false |
| If set to true, saves the residual at each iteration of the CG solver. The names of the files fit the following wildcard *_cg_convergence.csv. More... | |
Public Attributes inherited from Constants::Physics | |
| const double | pi |
| The ratio between the circumference and the diameter of any circle, \(\pi\). More... | |
| const double | c = 299792458.0 |
| The speed of light in free space, \(c\). | |
| const double | permeability_fs = 4.0 * pi * 1.0e-7 |
| The permeability of the free space, \(\mu_0\). | |
| const double | permittivity_fs = 1.0 / (std::pow(c, 2) * permeability_fs) |
| The permittivity of the free space, \(\epsilon_0\). | |
Describes exact solution, \(\vec{B}\), of the Magnetic wire (mwr/) numerical experiment.
Definition at line 73 of file exact_solution.hpp.