12 #define BOOST_ALLOW_DEPRECATED_HEADERS
14 #include "static_scalar_input.hpp"
17 using namespace StaticScalarSolver;
20 #pragma GCC diagnostic push
21 #pragma GCC diagnostic ignored "-Wunused-parameter"
26 types::material_id mid,
28 std::vector<double>& values)
const
30 Assert(r.size() == values.size(),
31 ExcDimensionMismatch(r.size(), values.size()));
33 for (
unsigned int i = 0; i < values.size(); i++)
40 types::material_id mid,
42 std::vector<double>& values)
const
44 Assert(r.size() == values.size(),
45 ExcDimensionMismatch(r.size(), values.size()));
47 for (
unsigned int i = 0; i < values.size(); i++)
54 types::material_id mid,
56 std::vector<double>& values)
const
58 Assert(r.size() == values.size(),
59 ExcDimensionMismatch(r.size(), values.size()));
61 for (
unsigned int i = 0; i < values.size(); i++)
68 types::material_id mid,
70 std::vector<double>& values)
const
72 Assert(r.size() == values.size(),
73 ExcDimensionMismatch(r.size(), values.size()));
75 for (
unsigned int i = 0; i < values.size(); i++)
82 types::material_id mid,
84 std::vector<Tensor<1, 2>>& values)
const
86 Assert(r.size() == values.size(),
87 ExcDimensionMismatch(r.size(), values.size()));
89 for (
unsigned int i = 0; i < values.size(); i++) {
98 types::material_id mid,
100 std::vector<Tensor<1, 3>>& values)
const
102 Assert(r.size() == values.size(),
103 ExcDimensionMismatch(r.size(), values.size()));
105 for (
unsigned int i = 0; i < values.size(); i++) {
115 const std::vector<Tensor<1, 2>>& n,
116 types::boundary_id bin,
117 types::material_id mid,
120 std::vector<double>& values)
const
122 Assert(r.size() == values.size(),
123 ExcDimensionMismatch(r.size(), values.size()));
125 if (bid_infty == 2) {
126 for (
unsigned int i = 0; i < values.size(); i++)
127 values[i] = ep_0 / r[i].norm();
129 for (
unsigned int i = 0; i < values.size(); i++)
137 const std::vector<Tensor<1, 3>>& n,
138 types::boundary_id bid,
139 types::material_id mid,
142 std::vector<double>& values)
const
144 Assert(r.size() == values.size(),
145 ExcDimensionMismatch(r.size(), values.size()));
147 if (bid_infty == 2) {
148 for (
unsigned int i = 0; i < values.size(); i++)
149 values[i] = ep_0 / r[i].norm();
151 for (
unsigned int i = 0; i < values.size(); i++)
159 const std::vector<Tensor<1, 2>>& n,
160 types::boundary_id bid,
161 types::material_id mid,
164 std::vector<double>& values)
const
167 Assert(r.size() == values.size(),
168 ExcDimensionMismatch(r.size(), values.size()));
170 for (
unsigned int i = 0; i < values.size(); i++)
177 const std::vector<Tensor<1, 3>>& n,
178 types::boundary_id bid,
179 types::material_id mid,
182 std::vector<double>& values)
const
185 Assert(r.size() == values.size(),
186 ExcDimensionMismatch(r.size(), values.size()));
188 for (
unsigned int i = 0; i < values.size(); i++)
195 const std::vector<Tensor<1, 2>>& n,
196 types::material_id mid,
199 std::vector<double>& values)
const
201 Assert(r.size() == values.size(),
202 ExcDimensionMismatch(r.size(), values.size()));
204 for (
unsigned int i = 0; i < values.size(); i++)
211 const std::vector<Tensor<1, 3>>& n,
212 types::material_id mid,
215 std::vector<double>& values)
const
217 Assert(r.size() == values.size(),
218 ExcDimensionMismatch(r.size(), values.size()));
220 for (
unsigned int i = 0; i < values.size(); i++)
228 if ((r[0] < 2 * x0) && (r[0] > -2 * x0) && (r[1] < 2 * x0) &&
239 if (r.norm() <= R_mid)
245 #pragma GCC diagnostic pop
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...