12 #include <deal.II/base/types.h>
13 #define BOOST_ALLOW_DEPRECATED_HEADERS
15 #include "static_scalar_input.hpp"
19 using namespace StaticScalarSolver;
22 #pragma GCC diagnostic push
23 #pragma GCC diagnostic ignored "-Wunused-parameter"
28 types::material_id mid,
30 std::vector<double>& values)
const
32 Assert(r.size() == values.size(),
33 ExcDimensionMismatch(r.size(), values.size()));
35 for (
unsigned int i = 0; i < values.size(); i++)
42 types::material_id mid,
44 std::vector<double>& values)
const
46 Assert(r.size() == values.size(),
47 ExcDimensionMismatch(r.size(), values.size()));
49 for (
unsigned int i = 0; i < values.size(); i++)
56 types::material_id mid,
58 std::vector<double>& values)
const
60 Assert(r.size() == values.size(),
61 ExcDimensionMismatch(r.size(), values.size()));
63 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<Tensor<1, 2>>& values)
const
88 Assert(r.size() == values.size(),
89 ExcDimensionMismatch(r.size(), values.size()));
91 for (
unsigned int i = 0; i < values.size(); i++) {
100 types::material_id mid,
102 std::vector<Tensor<1, 3>>& values)
const
104 Assert(r.size() == values.size(),
105 ExcDimensionMismatch(r.size(), values.size()));
107 for (
unsigned int i = 0; i < values.size(); i++) {
117 const std::vector<Tensor<1, 2>>& n,
118 types::boundary_id bid,
119 types::material_id mid,
122 std::vector<double>& values)
const
124 Assert(r.size() == values.size(),
125 ExcDimensionMismatch(r.size(), values.size()));
127 for (
unsigned int i = 0; i < values.size(); i++)
134 const std::vector<Tensor<1, 3>>& n,
135 types::boundary_id bid,
136 types::material_id mid,
139 std::vector<double>& values)
const
141 Assert(r.size() == values.size(),
142 ExcDimensionMismatch(r.size(), values.size()));
144 for (
unsigned int i = 0; i < values.size(); i++)
151 const std::vector<Tensor<1, 2>>& n,
152 types::boundary_id bid,
153 types::material_id mid,
156 std::vector<double>& values)
const
159 Assert(r.size() == values.size(),
160 ExcDimensionMismatch(r.size(), values.size()));
162 for (
unsigned int i = 0; i < values.size(); i++)
169 const std::vector<Tensor<1, 3>>& n,
170 types::boundary_id bid,
171 types::material_id mid,
174 std::vector<double>& values)
const
177 Assert(r.size() == values.size(),
178 ExcDimensionMismatch(r.size(), values.size()));
180 for (
unsigned int i = 0; i < values.size(); i++)
187 const std::vector<Tensor<1, 2>>& n,
188 types::material_id mid,
191 std::vector<double>& values)
const
193 Assert(r.size() == values.size(),
194 ExcDimensionMismatch(r.size(), values.size()));
196 if ((cuid == 1) && (fuid == 1)) {
197 for (
unsigned int i = 0; i < values.size(); i++)
200 for (
unsigned int i = 0; i < values.size(); i++)
208 const std::vector<Tensor<1, 3>>& n,
209 types::material_id mid,
212 std::vector<double>& values)
const
214 Assert(r.size() == values.size(),
215 ExcDimensionMismatch(r.size(), values.size()));
217 if ((cuid == 1) && (fuid == 1)) {
218 for (
unsigned int i = 0; i < values.size(); i++)
221 for (
unsigned int i = 0; i < values.size(); i++)
240 #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...