Logbook  (07-04-2025)
Static problems
ExactSolutionABC_PHI< dim > Class Template Reference

Describes exact solution, \(\Phi\), of the Asymptotic boundary condition (abc/) numerical experiment. More...

#include <exact_solution.hpp>

Inheritance diagram for ExactSolutionABC_PHI< dim >:
Collaboration diagram for ExactSolutionABC_PHI< dim >:

Public Member Functions

virtual double value (const Point< dim > &r, const unsigned int component=0) const override final
 
virtual Tensor< 1, dim > gradient (const Point< dim > &r, const unsigned int component=0) const override final
 
double value (const Point< 2 > &r, unsigned int component) const
 
Tensor< 1, 2 > gradient (const Point< 2 > &r, unsigned int component) const
 
double value (const Point< 3 > &r, unsigned int componet) const
 
Tensor< 1, 3 > gradient (const Point< 3 > &r, unsigned int component) const
 

Additional Inherited Members

- Public Attributes inherited from SettingsABC
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 a = 0.1
 The radius of the sphere. Used only in the three- dimensional version of the experiment.
 
const double x0 = 0.1
 The offset of the conductors from the origin. Used only in the two- dimensional version of the experiment.
 
const double R = 0.05
 The radius of each conductor. Used in the two- dimensional version of the program.
 
const double R_mid = 1.5 * (R + x0)
 The outer radius of the fixed region in the three- dimensional version of the problem.
 
const types::boundary_id bid_left = 3
 The ID of the circular boundary that represents the left conductor in the two- dimensional version of the experiment.
 
const types::boundary_id bid_right = 1
 The ID of the circular boundary that represents the right conductor in the two- dimensional version of the experiment.
 
const types::boundary_id bid_in = 1
 The ID of the inner boundary of the problem domain in the three- dimensional version of the experiment.
 
const types::manifold_id mfid_left = 3
 The ID of the spherical manifold attached to the left boundary (2D only).
 
const types::manifold_id mfid_right = 1
 The ID of the spherical manifold attached to the right boundary (2D only).
 
const types::manifold_id mfid_infty = 2
 The ID of the spherical manifold attached to the boundary that represents the infinity (both, 2D and 3D).
 
const types::boundary_id bid_infty = 0
 The ID of the boundary that represents the infinity. Used in both, two- and three- dimensional versions of the experiment.
 
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

template<int dim>
class ExactSolutionABC_PHI< dim >

Describes exact solution, \(\Phi\), of the Asymptotic boundary condition (abc/) numerical experiment.

Definition at line 31 of file exact_solution.hpp.


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