12 #include <deal.II/base/types.h>
13 #define BOOST_ALLOW_DEPRECATED_HEADERS
15 #include "exact_solution.hpp"
16 #include "static_scalar_input.hpp"
19 #pragma GCC diagnostic push
20 #pragma GCC diagnostic ignored "-Wunused-parameter"
21 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
30 const std::vector<Point<2>>& r,
31 types::material_id mid,
33 std::vector<double>& values)
const
35 Assert(r.size() == values.size(),
36 ExcDimensionMismatch(r.size(), values.size()));
38 for (
unsigned int i = 0; i < values.size(); i++)
45 const std::vector<Point<2>>& r,
46 types::material_id mid,
48 std::vector<double>& values)
const
50 Assert(r.size() == values.size(),
51 ExcDimensionMismatch(r.size(), values.size()));
53 for (
unsigned int i = 0; i < values.size(); i++)
60 types::material_id mid,
62 std::vector<double>& values)
const
64 Assert(r.size() == values.size(),
65 ExcDimensionMismatch(r.size(), values.size()));
67 for (
unsigned int i = 0; i < values.size(); i++)
74 const std::vector<Point<2>>& r,
75 types::material_id mid,
77 std::vector<Tensor<1, 2>>& values)
const
79 Assert(r.size() == values.size(),
80 ExcDimensionMismatch(r.size(), values.size()));
84 for (
unsigned int i = 0; i < values.size(); i++) {
85 Jf = volume_free_current_density(r[i][0], r[i][1], mu_0, k);
95 const std::vector<Tensor<1, 2>>& n,
96 types::boundary_id bid,
97 types::material_id mid,
100 std::vector<double>& values)
const
102 Assert(r.size() == values.size(),
103 ExcDimensionMismatch(r.size(), values.size()));
105 Assert(r.size() == n.size(), ExcDimensionMismatch(r.size(), n.size()));
107 for (
unsigned int i = 0; i < values.size(); i++)
114 const std::vector<Point<2>>& r,
115 const std::vector<Tensor<1, 2>>& n,
116 types::boundary_id bid,
117 types::material_id mid,
120 std::vector<double>& values)
const
123 Assert(r.size() == values.size(),
124 ExcDimensionMismatch(r.size(), values.size()));
128 for (
unsigned int i = 0; i < r.size(); i++) {
129 Jf = volume_free_current_density(r[i][0], r[i][1], mu_0, k);
131 values[i] = -n[i][0] * Jf[1] + n[i][1] * Jf[0];
138 const std::vector<Point<2>>& r,
139 const std::vector<Tensor<1, 2>>& n,
140 types::material_id mid,
143 std::vector<double>& values)
const
145 Assert(r.size() == values.size(),
146 ExcDimensionMismatch(r.size(), values.size()));
148 for (
unsigned int i = 0; i < values.size(); i++)
155 const unsigned int component)
const
167 const unsigned int component)
const
void value_list(const std::vector< Point< dim >> &r, const std::vector< Tensor< 1, dim >> &n, types::material_id mid, unsigned int cuid, unsigned int fuid, std::vector< double > &values) const
Computes the right-hand side of the second continuity condition ( , , , or ).
void value_list(const std::vector< Point< dim >> &r, const std::vector< Tensor< 1, dim >> &n, types::boundary_id bid, types::material_id mid, unsigned int cuid, unsigned int fuid, std::vector< double > &values) const
Computes the coefficient at quadrature points.
void value_list(const std::vector< Point< dim >> &r, types::material_id mid, unsigned int cuid, std::vector< Tensor< 1, dim >> &values) const
Computes the two-dimensional free-current density on the right-hand side of the partial differential...
void value_list(const std::vector< Point< dim >> &r, types::material_id mid, unsigned int cuid, std::vector< double > &values) const
Computes the right-hand side of the div-grad partial differential equation at quadrature points.
void value_list(const std::vector< Point< dim >> &r, const std::vector< Tensor< 1, dim >> &n, types::boundary_id bid, types::material_id mid, unsigned int cuid, unsigned int fuid, std::vector< double > &values) const
Computes the right-hand side of the Robin boundary condition ( or ).
void value_list(const std::vector< Point< dim >> &r, types::material_id mid, unsigned int cuid, std::vector< double > &values) const
Computes the values of the coefficient at quadrature points.
virtual double value(const Point< dim > &r, const unsigned int component=0) const override final
Returns the value of weight at point r. All error norms, , , and , at point r will be multiplied by t...