Logbook  (07-04-2025)
Static problems
exact_solution.hpp
1 /******************************************************************************
2  * Copyright (C) Siarhei Uzunbajakau, 2023.
3  *
4  * This program is free software. You can use, modify, and redistribute it under
5  * the terms of the GNU Lesser General Public License as published by the Free
6  * Software Foundation, either version 3 or (at your option) any later version.
7  * This program is distributed without any warranty.
8  *
9  * Refer to COPYING.LESSER for more details.
10  ******************************************************************************/
11 
12 #ifndef ExactSolutionINTAXI_H__
13 #define ExactSolutionINTAXI_H__
14 
15 #include <deal.II/base/function.h>
16 #include <deal.II/base/tensor.h>
17 
18 #include <deal.II/lac/vector.h>
19 
20 #include <cmath>
21 
22 #include "constants.hpp"
23 #include "settings.hpp"
24 
25 using namespace dealii;
26 
33 template<bool is_cylinder>
35  : public Function<2>
36  , public SettingsINTAXI
37 {
38 public:
40 
41  virtual double value(const Point<2>& r,
42  const unsigned int component = 0) const override final;
43 
44  virtual Tensor<1, 2> gradient(
45  const Point<2>& r,
46  const unsigned int component = 0) const override final;
47 
48 private:
49  double alpha;
50  double beta;
51 };
52 
59 template<bool is_cylinder>
61  : public Function<2>
62  , public SettingsINTAXI
63 {
64 public:
66  : Function<2>(2)
67  {
68  }
69 
70  virtual void vector_value_list(
71  const std::vector<Point<2>>& r,
72  std::vector<Vector<double>>& values) const final;
73 
74 private:
76 };
77 
84 template<bool is_cylinder>
86  : public Function<2>
87  , public SettingsINTAXI
88 {
89 public:
91  : Function<2>(2)
92  {
93  }
94 
95  virtual void vector_value_list(
96  const std::vector<Point<2>>& r,
97  std::vector<Vector<double>>& values) const final;
98 
99 private:
101 };
102 
103 #endif
Describes exact solution, , of the Axisymmetric - interface between dielectrics (int-axi/) numerical ...
Describes exact solution, , of the Axisymmetric - interface between dielectrics (int-axi/) numerical ...
Describes exact solution, , of the Axisymmetric - interface between dielectrics (int-axi/) numerical ...
Global settings for the Axisymmetric - interface between dielectrics (int-axi/) numerical experiment.
Definition: settings.hpp:26