Reference documentation for deal.II version GIT f6a5d312c9 2023-10-04 08:50:02+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\}}\)
polynomials_bernardi_raugel.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2004 - 2023 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 
17 #ifndef dealii_polynomials_bernardi_raugel_h
18 #define dealii_polynomials_bernardi_raugel_h
19 
20 #include <deal.II/base/config.h>
21 
23 #include <deal.II/base/point.h>
26 #include <deal.II/base/tensor.h>
29 
30 #include <vector>
31 
33 
34 
84 template <int dim>
86 {
87 public:
95  PolynomialsBernardiRaugel(const unsigned int k);
96 
100  std::string
101  name() const override;
102 
110  void
111  evaluate(const Point<dim> &unit_point,
112  std::vector<Tensor<1, dim>> &values,
113  std::vector<Tensor<2, dim>> &grads,
114  std::vector<Tensor<3, dim>> &grad_grads,
115  std::vector<Tensor<4, dim>> &third_derivatives,
116  std::vector<Tensor<5, dim>> &fourth_derivatives) const override;
117 
123  static unsigned int
124  n_polynomials(const unsigned int k);
125 
129  virtual std::unique_ptr<TensorPolynomialsBase<dim>>
130  clone() const override;
131 
132 private:
140 
147 
152  static std::vector<std::vector<Polynomials::Polynomial<double>>>
154 
159  static std::vector<std::vector<Polynomials::Polynomial<double>>>
161 };
162 
163 
164 template <int dim>
165 inline std::string
167 {
168  return "BernardiRaugel";
169 }
170 
171 
173 
174 #endif
Definition: point.h:112
static std::vector< std::vector< Polynomials::Polynomial< double > > > create_polynomials_bubble()
PolynomialsBernardiRaugel(const unsigned int k)
static std::vector< std::vector< Polynomials::Polynomial< double > > > create_polynomials_Q()
const AnisotropicPolynomials< dim > polynomial_space_bubble
virtual std::unique_ptr< TensorPolynomialsBase< dim > > clone() const override
static unsigned int n_polynomials(const unsigned int k)
void evaluate(const Point< dim > &unit_point, std::vector< Tensor< 1, dim >> &values, std::vector< Tensor< 2, dim >> &grads, std::vector< Tensor< 3, dim >> &grad_grads, std::vector< Tensor< 4, dim >> &third_derivatives, std::vector< Tensor< 5, dim >> &fourth_derivatives) const override
const AnisotropicPolynomials< dim > polynomial_space_Q
std::string name() const override
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:477
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:478