12 #include "exact_solution.hpp"
14 #pragma GCC diagnostic push
15 #pragma GCC diagnostic ignored "-Wunused-parameter"
17 using namespace dealii;
19 ExactSolutionSSOLIII_Jf::ExactSolutionSSOLIII_Jf()
25 ExactSolutionSSOLIII_Jf::vector_value_list(
26 const std::vector<Point<3>>& r,
27 std::vector<Vector<double>>& values)
const
29 Assert(values.size() == r.size(),
30 ExcDimensionMismatch(values.size(), r.size()));
34 for (
unsigned int i = 0; i < values.size(); i++) {
35 Jf = volume_free_current_density(r[i][0], r[i][1], r[i][2],
K_0,
a2,
b2);
43 ExactSolutionSSOLIII_B::ExactSolutionSSOLIII_B()
49 ExactSolutionSSOLIII_B::vector_value_list(
50 const std::vector<Point<3>>& r,
51 std::vector<Vector<double>>& values)
const
53 Assert(values.size() == r.size(),
54 ExcDimensionMismatch(values.size(), r.size()));
58 for (
unsigned int i = 0; i < values.size(); i++) {
59 B = magnetic_field_coil(r[i][0], r[i][1], r[i][2],
K_0,
mu_0,
a2,
b2) +
60 magnetic_field_core(r[i][0], r[i][1], r[i][2],
H_0,
mu_r,
mu_0,
a1,
b1);
const double mu_0
The permeability of free space.
const double mu_r
The relative permeability of the material of the magnetic core.
const double a1
The inner radius of the magnetic core.
const double a2
The inner radius of the coil.
const double H_0
The magnitude of the H-field induced by the coil at its center in absence of the magnetic core.
const double b2
The outer radius of the coil.
const double b1
The outer radius of the magnetic core.
const double K_0
A constant that defines the magnitude of the surface free-current density.