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

Describes exact solution, \(\vec{E}_M\), of the Method of manufactured solutions (mms/) numerical experiment in two and three dimensions. More...

#include <exact_solution.hpp>

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

Public Member Functions

virtual void vector_value_list (const std::vector< Point< dim >> &r, std::vector< Vector< double >> &values) const final
 
void vector_value_list (const std::vector< Point< 2 >> &r, std::vector< Vector< double >> &values) const
 
void vector_value_list (const std::vector< Point< 3 >> &r, std::vector< Vector< double >> &values) const
 

Additional Inherited Members

- Public Attributes inherited from SettingsMMS
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 k = pi
 The scaling parameter.
 
const types::boundary_id bid_dirichlet = 1
 The Dirichlet boundary condition will be applied to the boundaries with ID = 1. The boundary IDs are set in the geo files that are located in the mms/gmsh directory.
 
const types::boundary_id bid_robin = 2
 The Robin boundary condition will be applied to the boundaries with even boundary IDs. This constant is not used in the code. The code applies the Robin boundary condition on all boundaries with even IDs. The boundary IDs are set in the geo files that are located in the mms/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\).
 

Detailed Description

template<int dim>
class ExactSolutionMMS_E< dim >

Describes exact solution, \(\vec{E}_M\), of the Method of manufactured solutions (mms/) numerical experiment in two and three dimensions.

Definition at line 55 of file exact_solution.hpp.


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