deal.II version GIT relicensing-6834-g5b78e6bcdf 2026-10-01 11:20:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
function_bessel.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2010 - 2025 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13#ifndef dealii_function_bessel_h
14#define dealii_function_bessel_h
15
16
17#include <deal.II/base/config.h>
18
20#include <deal.II/base/point.h>
21
22#include <vector>
23
24
26
27namespace Functions
28{
34 template <int dim>
35 class Bessel1 : public Function<dim>
36 {
37 public:
41 Bessel1(const unsigned int order,
42 const double wave_number,
43 const Point<dim> center = Point<dim>());
44
45 virtual double
46 value(const Point<dim> &points,
47 const unsigned int component = 0) const override;
48
49 virtual void
50 value_list(const std::vector<Point<dim>> &points,
51 std::vector<double> &values,
52 const unsigned int component = 0) const override;
53
54 virtual Tensor<1, dim>
55 gradient(const Point<dim> &p,
56 const unsigned int component = 0) const override;
57
58 virtual void
59 gradient_list(const std::vector<Point<dim>> &points,
60 std::vector<Tensor<1, dim>> &gradients,
61 const unsigned int component = 0) const override;
62
63 private:
64 unsigned int order;
67 };
68} // namespace Functions
69
71
72#endif
virtual Tensor< 1, dim > gradient(const Point< dim > &p, const unsigned int component=0) const override
virtual void value_list(const std::vector< Point< dim > > &points, std::vector< double > &values, const unsigned int component=0) const override
virtual double value(const Point< dim > &points, const unsigned int component=0) const override
virtual void gradient_list(const std::vector< Point< dim > > &points, std::vector< Tensor< 1, dim > > &gradients, const unsigned int component=0) const override
Definition point.h:111
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39