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 ExactSolutionCBND_H__
13 #define ExactSolutionCBND_H__
14 
15 #include <deal.II/base/function.h>
16 #include <deal.II/base/point.h>
17 
18 #include <cmath>
19 
20 #include "constants.hpp"
21 #include "settings.hpp"
22 
23 using namespace dealii;
24 
30 template<int dim>
32  : public Function<dim>
33  , public SettingsCBND
34 {
35 public:
37 
38  virtual double value(const Point<dim>& r,
39  const unsigned int component = 0) const override final;
40 
41  virtual Tensor<1, dim> gradient(
42  const Point<dim>& r,
43  const unsigned int component = 0) const override final;
44 };
45 
46 #endif
Describes exact solution, , of the Effect of curved boundaries (cbnd/) numerical experiment.
Global settings for the Effect of curved boundaries (cbnd/) numerical experiment.
Definition: settings.hpp:25