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

Global settings for the Axisymmetric - volume charge (rho-axi/) numerical experiment. More...

#include <settings.hpp>

Inheritance diagram for SettingsRHOAXI:
Collaboration diagram for SettingsRHOAXI:

Public Attributes

const unsigned int nr_threads_max = 0
 If greater than zero, limits the amount of threads used in the simulations.
 
const double ep_0 = permittivity_fs
 The permittivity of free space.
 
const double rho = 1.0 * ep_0
 The volume free-charge density.
 
const double d = 0.2
 The width of the rectangle around the origin in the second mesh (half-circle).
 
const double rd = sqrt(2) * d
 The radius of the circle that encloses the rectangle in the middle of the mesh.
 
double a = 0.5
 The radius of the tube in the two- dimensional version of the problem or the radius of the sphere in the three- dimensional problem in which the free- charge is located.
 
double b = 1.0
 The radius of the outer boundary of the problem domain.
 
const types::material_id mid_1 = 1
 The ID of the material inside the charged region, \(\rho_f \ne 0.0\).
 
const types::material_id mid_2 = 2
 The ID of the material outside the charged region, \(\rho_f=0.0\).
 
const types::boundary_id bid = 1
 The ID of the boundary of the problem domain.
 
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

Global settings for the Axisymmetric - volume charge (rho-axi/) numerical experiment.

Definition at line 25 of file settings.hpp.

Member Data Documentation

◆ log_cg_convergence

const bool SettingsRHOAXI::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.

The residuals are saved into the subdirectories of ./ Data/ directory.

Definition at line 115 of file settings.hpp.

◆ project_exact_solution

const bool SettingsRHOAXI::project_exact_solution = false

If set to true, the program will project the exact solution.

The exact solution will be modeled on the same mesh and by the same finite elements that are used to model the solution. The projected exact solution will be saved in the vtu file next to the solution. This option can be useful when debugging.

Definition at line 106 of file settings.hpp.


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