Logbook  (07-04-2025)
Static problems
BatchSLDI Class Reference

This is a wrap-around class. It contains the main loop of the program that implements the Magnetostatic shield - 1 (sld-i/) numerical experiment. More...

Inheritance diagram for BatchSLDI:
Collaboration diagram for BatchSLDI:

Public Member Functions

void run ()
 

Additional Inherited Members

- Public Attributes inherited from SettingsSLDI
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 d1 = (DIMENSION__ == 2) ? 0.07 : 0.05
 The half-side of the cube (square) in the middle of the spherical (circular) mesh.
 
const double rd1 = sqrt(DIMENSION__) * d1
 The radius of the circle (sphere) that encloses the square (cube) in the middle of the mesh.
 
const double a = 0.2
 The inner radius of the shield.
 
const double b = 0.4
 The outer radius of the shield.
 
const double d_2 = 0.8
 The half- side length of the square (cube) in which the error norms are computed.
 
const double d_3 = 2.0
 The half- side length of the square (cube) that represents the outer boundary.
 
const types::boundary_id bid = 1
 The ID of the only boundary of the problem domain.
 
const BoundaryConditionType type_of_bc = Exact
 Switches between three boundary conditions options.
 
const types::material_id mid_1 = 1
 The ID of the material inside the shield.
 
const types::material_id mid_2 = 2
 The ID of the material of the shield.
 
const types::material_id mid_3 = 3
 The ID of the material outside the shield.
 
const double mur_1 = 1.0
 Relative permeability of the material inside the shield.
 
const double mur_2 = 4.0
 Relative permeability of the material of the shield.
 
const double mur_3 = 1.0
 Relative permeability of the material outside the shield.
 
const double mu_1 = mur_1 * mu_0
 Permeability of the material inside the shield. simulations.
 
const double mu_2 = mur_2 * mu_0
 Permeability of the material of the shield.
 
const double mu_3 = mur_3 * mu_0
 Permeability of the material outside the shield.
 
const double H_0 = 1.0
 The magnitude of the uniform auxiliary field H at the infinity, i.e., in absence of the magnetic shield.
 
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\).
 

Detailed Description

This is a wrap-around class. It contains the main loop of the program that implements the Magnetostatic shield - 1 (sld-i/) numerical experiment.

Definition at line 32 of file main.cpp.


The documentation for this class was generated from the following file: