12 #ifndef StaticScalarInput_H__
13 #define StaticScalarInput_H__
15 #include <deal.II/base/function.h>
16 #include <deal.II/base/tensor.h>
18 #include "constants.hpp"
19 #include "settings.hpp"
21 namespace StaticScalarSolver {
62 template<
int dim,
int stage = 1>
105 types::material_id mid,
107 std::vector<double>& values)
const;
151 template<
int dim,
int stage = 1>
206 types::material_id mid,
208 std::vector<double>& values)
const;
248 template<
int dim,
int stage = 1>
306 types::material_id mid,
308 std::vector<Tensor<1, dim>>& values)
const;
334 template<
int dim,
int stage = 1>
392 const std::vector<Tensor<1, dim>>& n,
393 types::boundary_id bid,
394 types::material_id mid,
397 std::vector<double>& values)
const;
423 template<
int dim,
int stage = 1>
484 const std::vector<Tensor<1, dim>>& n,
485 types::boundary_id bid,
486 types::material_id mid,
489 std::vector<double>& values)
const;
515 template<
int dim,
int stage = 1>
572 const std::vector<Tensor<1, dim>>& n,
573 types::material_id mid,
576 std::vector<double>& values)
const;
606 template<
int dim,
int stage = 1>
608 :
public Function<dim>
622 virtual double value(
const Point<dim>& r,
623 const unsigned int component = 0) const override final;
Global settings for the Method of manufactured solutions (mms/) numerical experiment.
Implements the right-hand side ( , , , or ), of the continuity condition (v) in the static scalar bou...
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 ).
Implements the coefficient in 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 the coefficient at quadrature points.
Implements the two-dimensional free-current density on the right-hand side of the partial differenti...
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...
Implements the right-hand side ( , , , or ) in the div-grad partial differential equation (i) of the ...
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.
Implements the right-hand side ( or ) of the Robin boundary condition (iii) in the static scalar bou...
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 ).
Implements the coefficient ( , , etc.) in the div-grad partial differential equation (i) of the scala...
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.
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...