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 ExactSolutions_H__
13 #define ExactSolutions_H__
14 
15 #include "constants.hpp"
16 #include "settings.hpp"
17 #include <deal.II/base/function.h>
18 #include <deal.II/lac/vector.h>
19 
20 #include <cmath>
21 
22 using namespace dealii;
23 
30  : public Function<2>
31  , public SettingsCVPII
32 {
33 public:
35 
36  virtual double value(const Point<2>& r,
37  const unsigned int component = 0) const override final;
38 
39  virtual Tensor<1, 2> gradient(
40  const Point<2>& r,
41  const unsigned int component = 0) const override final;
42 };
43 
50  : public Function<2>
51  , public SettingsCVPII
52 {
53 public:
55 
56  virtual void vector_value_list(
57  const std::vector<Point<2>>& r,
58  std::vector<Vector<double>>& values) const override final;
59 };
60 
61 #endif
Describes the given volume free-current density, , in the Current vector potential (cvp-ii/) numerica...
The exact solution, , in the Current vector potential (cvp-ii/) numerical experiment.
Global settings for the Current vector potential (cvp-ii/) numerical experiment.
Definition: settings.hpp:26