12 #ifndef StaticVectorInput_H__
13 #define StaticVectorInput_H__
15 #include <deal.II/base/function.h>
16 #include <deal.II/base/tensor.h>
18 #include "constants.hpp"
19 #include "settings.hpp"
21 using namespace dealii;
23 namespace StaticVectorSolver {
51 template<
int dim,
int stage = 1>
99 types::material_id mid,
101 std::vector<double>& values)
const;
138 template<
int dim,
int stage = 1>
191 types::material_id mid,
193 std::vector<Tensor<1, dim>>& values)
const;
219 template<
int dim,
int stage = 1>
279 const std::vector<Tensor<1, dim>>& n,
280 types::boundary_id bid,
281 types::material_id mid,
284 std::vector<double>& values)
const;
310 template<
int dim,
int stage = 1>
365 const std::vector<Tensor<1, dim>>& n,
366 types::boundary_id bid,
367 types::material_id mid,
370 std::vector<Tensor<1, dim>>& values)
const;
396 template<
int dim,
int stage = 1>
449 const std::vector<Tensor<1, dim>>& n,
450 types::material_id mid,
453 std::vector<Tensor<1, dim>>& values)
const;
471 template<
int dim,
int stage = 1>
473 :
public Function<dim>
487 virtual double value(
const Point<dim>& r,
488 const unsigned int component = 0) const override final;
Global settings for the Method of manufactured solutions (mms/) numerical experiment.
Implements the surface free-current density, , on the right-hand side of the continuity condition (v)...
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< Tensor< 1, dim >> &values) const
Computes values of the surface free-current density, , on the right-hand side of the continuity condi...
Implements the coefficient on the left-hand side of the Robin boundary condition (iii) of the static...
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 values of the parameter of the Robin boundary condition at quadrature points.
Implements the source vector field on the right-hand side of the partial differential equation (i) of...
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 vector field on the right-hand side of the partial differential equation.
Implements the vector field, , on the right-hand side of the Robin boundary condition (iii) of the st...
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< Tensor< 1, dim >> &values) const
Computes values of the vector field on the right-hand side of the Robin boundary condition at quadra...
Implements the permeability, , in the partial differential equation (i) of the vector boundary value ...
void value_list(const std::vector< Point< dim >> &r, types::material_id mid, unsigned int cuid, std::vector< double > &values) const
Computes values of permeability, , at quadrature points.
Implements the weight function for calculating the and error norms.
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...