12 #include <deal.II/base/types.h>
13 #define BOOST_ALLOW_DEPRECATED_HEADERS
15 #include "static_scalar_input.hpp"
18 using namespace StaticScalarSolver;
21 #pragma GCC diagnostic push
22 #pragma GCC diagnostic ignored "-Wunused-parameter"
27 types::material_id mid,
29 std::vector<double>& values)
const
31 Assert(r.size() == values.size(),
32 ExcDimensionMismatch(r.size(), values.size()));
34 for (
unsigned int i = 0; i < values.size(); i++) {
49 types::material_id mid,
51 std::vector<double>& values)
const
53 Assert(r.size() == values.size(),
54 ExcDimensionMismatch(r.size(), values.size()));
56 for (
unsigned int i = 0; i < values.size(); i++) {
71 types::material_id mid,
73 std::vector<double>& values)
const
75 Assert(r.size() == values.size(),
76 ExcDimensionMismatch(r.size(), values.size()));
78 for (
unsigned int i = 0; i < values.size(); i++)
85 types::material_id mid,
87 std::vector<double>& values)
const
89 Assert(r.size() == values.size(),
90 ExcDimensionMismatch(r.size(), values.size()));
92 for (
unsigned int i = 0; i < values.size(); i++)
99 types::material_id mid,
101 std::vector<Tensor<1, 2>>& values)
const
103 Assert(r.size() == values.size(),
104 ExcDimensionMismatch(r.size(), values.size()));
106 for (
unsigned int i = 0; i < values.size(); i++) {
115 types::material_id mid,
117 std::vector<Tensor<1, 3>>& values)
const
119 Assert(r.size() == values.size(),
120 ExcDimensionMismatch(r.size(), values.size()));
122 for (
unsigned int i = 0; i < values.size(); i++) {
132 const std::vector<Tensor<1, 2>>& n,
133 types::boundary_id bid,
134 types::material_id mid,
137 std::vector<double>& values)
const
139 Assert(r.size() == values.size(),
140 ExcDimensionMismatch(r.size(), values.size()));
142 for (
unsigned int i = 0; i < values.size(); i++)
149 const std::vector<Tensor<1, 3>>& n,
150 types::boundary_id bid,
151 types::material_id mid,
154 std::vector<double>& values)
const
156 Assert(r.size() == values.size(),
157 ExcDimensionMismatch(r.size(), values.size()));
159 for (
unsigned int i = 0; i < values.size(); i++)
166 const std::vector<Tensor<1, 2>>& n,
167 types::boundary_id bid,
168 types::material_id mid,
171 std::vector<double>& values)
const
174 Assert(r.size() == values.size(),
175 ExcDimensionMismatch(r.size(), values.size()));
177 for (
unsigned int i = 0; i < values.size(); i++)
184 const std::vector<Tensor<1, 3>>& n,
185 types::boundary_id bid,
186 types::material_id mid,
189 std::vector<double>& values)
const
192 Assert(r.size() == values.size(),
193 ExcDimensionMismatch(r.size(), values.size()));
195 for (
unsigned int i = 0; i < values.size(); i++)
202 const std::vector<Tensor<1, 2>>& n,
203 types::material_id mid,
206 std::vector<double>& values)
const
208 Assert(r.size() == values.size(),
209 ExcDimensionMismatch(r.size(), values.size()));
211 for (
unsigned int i = 0; i < values.size(); i++)
218 const std::vector<Tensor<1, 3>>& n,
219 types::material_id mid,
222 std::vector<double>& values)
const
224 Assert(r.size() == values.size(),
225 ExcDimensionMismatch(r.size(), values.size()));
227 for (
unsigned int i = 0; i < values.size(); i++)
235 if ((std::abs(r[0]) < d_2) && (std::abs(r[1]) < d_2))
245 if ((std::abs(r[0]) < d_2) && (std::abs(r[1]) < d_2) &&
246 (std::abs(r[2]) < d_2))
252 #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...