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++) {
48 types::material_id mid,
50 std::vector<double>& values)
const
52 Assert(r.size() == values.size(),
53 ExcDimensionMismatch(r.size(), values.size()));
55 for (
unsigned int i = 0; i < values.size(); i++) {
70 types::material_id mid,
72 std::vector<double>& values)
const
74 Assert(r.size() == values.size(),
75 ExcDimensionMismatch(r.size(), values.size()));
77 for (
unsigned int i = 0; i < values.size(); i++)
84 types::material_id mid,
86 std::vector<double>& values)
const
88 Assert(r.size() == values.size(),
89 ExcDimensionMismatch(r.size(), values.size()));
91 for (
unsigned int i = 0; i < values.size(); i++)
98 types::material_id mid,
100 std::vector<Tensor<1, 2>>& values)
const
102 Assert(r.size() == values.size(),
103 ExcDimensionMismatch(r.size(), values.size()));
105 for (
unsigned int i = 0; i < values.size(); i++) {
114 types::material_id mid,
116 std::vector<Tensor<1, 3>>& values)
const
118 Assert(r.size() == values.size(),
119 ExcDimensionMismatch(r.size(), values.size()));
121 for (
unsigned int i = 0; i < values.size(); i++) {
131 const std::vector<Tensor<1, 2>>& n,
132 types::boundary_id bid,
133 types::material_id mid,
136 std::vector<double>& values)
const
138 Assert(r.size() == values.size(),
139 ExcDimensionMismatch(r.size(), values.size()));
141 for (
unsigned int i = 0; i < values.size(); i++)
148 const std::vector<Tensor<1, 3>>& n,
149 types::boundary_id bid,
150 types::material_id mid,
153 std::vector<double>& values)
const
155 Assert(r.size() == values.size(),
156 ExcDimensionMismatch(r.size(), values.size()));
158 for (
unsigned int i = 0; i < values.size(); i++)
165 const std::vector<Tensor<1, 2>>& n,
166 types::boundary_id bid,
167 types::material_id mid,
170 std::vector<double>& values)
const
173 Assert(r.size() == values.size(),
174 ExcDimensionMismatch(r.size(), values.size()));
176 for (
unsigned int i = 0; i < values.size(); i++)
183 const std::vector<Tensor<1, 3>>& n,
184 types::boundary_id bid,
185 types::material_id mid,
188 std::vector<double>& values)
const
191 Assert(r.size() == values.size(),
192 ExcDimensionMismatch(r.size(), values.size()));
194 for (
unsigned int i = 0; i < values.size(); i++)
201 const std::vector<Tensor<1, 2>>& n,
202 types::material_id mid,
205 std::vector<double>& values)
const
207 Assert(r.size() == values.size(),
208 ExcDimensionMismatch(r.size(), values.size()));
210 for (
unsigned int i = 0; i < values.size(); i++) {
211 if ((cuid == 1) && (fuid == 1)) {
212 values[i] = -(mu_2 - mu_1) * (n[i] * j_hat);
215 if ((cuid == 2) && (fuid == 2)) {
216 values[i] = -(mu_3 - mu_2) * (n[i] * j_hat);
224 const std::vector<Tensor<1, 3>>& n,
225 types::material_id mid,
228 std::vector<double>& values)
const
230 Assert(r.size() == values.size(),
231 ExcDimensionMismatch(r.size(), values.size()));
233 for (
unsigned int i = 0; i < values.size(); i++) {
234 if ((cuid == 1) && (fuid == 1)) {
235 values[i] = -(mu_2 - mu_1) * (n[i] * k_hat);
238 if ((cuid == 2) && (fuid == 2)) {
239 values[i] = -(mu_3 - mu_2) * (n[i] * k_hat);
248 if (((std::abs(r[0]) - d_2) < eps) && ((std::abs(r[1]) - d_2) < eps)) {
259 if (((std::abs(r[0]) - d_2) < eps) && ((std::abs(r[1]) - d_2) < eps) &&
260 ((std::abs(r[2]) - d_2) < eps)) {
267 #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...