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 ExactSolutionSCHAXI_H__
13 #define ExactSolutionSCHAXI_H__
14 
15 #include "constants.hpp"
16 #include "settings.hpp"
17 #include <deal.II/base/function.h>
18 
19 using namespace dealii;
20 
26 template<bool is_cylinder>
28  : public Function<2>
29  , public SettingsSCHAXI
30 {
31 public:
33 
34  virtual double value(const Point<2>& p,
35  const unsigned int component = 0) const override final;
36 
37  virtual Tensor<1, 2> gradient(
38  const Point<2>& p,
39  const unsigned int component = 0) const override final;
40 };
41 
42 #endif
Describes exact solution, , of the Axisymmetric - surface charge (sch-axi/) numerical experiment.
Global settings for the Axisymmetric - surface charge (sch-axi/) numerical experiment.
Definition: settings.hpp:26