Reference documentation for deal.II version 9.2.0
\(\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 - 2019 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 
86 template <int dim>
88 {
89 public:
97  PolynomialsBernardiRaugel(const unsigned int k);
98 
102  std::string
103  name() const override;
104 
117  void
118  evaluate(const Point<dim> & unit_point,
119  std::vector<Tensor<1, dim>> &values,
120  std::vector<Tensor<2, dim>> &grads,
121  std::vector<Tensor<3, dim>> &grad_grads,
122  std::vector<Tensor<4, dim>> &third_derivatives,
123  std::vector<Tensor<5, dim>> &fourth_derivatives) const override;
124 
130  static unsigned int
131  n_polynomials(const unsigned int k);
132 
136  virtual std::unique_ptr<TensorPolynomialsBase<dim>>
137  clone() const override;
138 
139 private:
147 
154 
159  static std::vector<std::vector<Polynomials::Polynomial<double>>>
161 
166  static std::vector<std::vector<Polynomials::Polynomial<double>>>
168 };
169 
170 
171 template <int dim>
172 inline std::string
174 {
175  return "BernardiRaugel";
176 }
177 
178 
180 
181 #endif
PolynomialsBernardiRaugel::polynomial_space_bubble
const AnisotropicPolynomials< dim > polynomial_space_bubble
Definition: polynomials_bernardi_raugel.h:153
tensor_product_polynomials.h
polynomial.h
PolynomialsBernardiRaugel::name
std::string name() const override
Definition: polynomials_bernardi_raugel.h:173
PolynomialsBernardiRaugel::evaluate
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
Definition: polynomials_bernardi_raugel.cc:70
tensor_polynomials_base.h
AnisotropicPolynomials
Definition: tensor_product_polynomials.h:287
tensor.h
PolynomialsBernardiRaugel::clone
virtual std::unique_ptr< TensorPolynomialsBase< dim > > clone() const override
Definition: polynomials_bernardi_raugel.cc:255
PolynomialsBernardiRaugel::create_polynomials_bubble
static std::vector< std::vector< Polynomials::Polynomial< double > > > create_polynomials_bubble()
Definition: polynomials_bernardi_raugel.cc:33
geometry_info.h
Tensor< 1, dim >
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
polynomial_space.h
TensorPolynomialsBase
Definition: tensor_polynomials_base.h:62
PolynomialsBernardiRaugel::PolynomialsBernardiRaugel
PolynomialsBernardiRaugel(const unsigned int k)
Definition: polynomials_bernardi_raugel.cc:24
PolynomialsBernardiRaugel::polynomial_space_Q
const AnisotropicPolynomials< dim > polynomial_space_Q
Definition: polynomials_bernardi_raugel.h:146
PolynomialsBernardiRaugel::n_polynomials
static unsigned int n_polynomials(const unsigned int k)
Definition: polynomials_bernardi_raugel.cc:239
Point< dim >
config.h
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
PolynomialsBernardiRaugel
Definition: polynomials_bernardi_raugel.h:87
PolynomialsBernardiRaugel::create_polynomials_Q
static std::vector< std::vector< Polynomials::Polynomial< double > > > create_polynomials_Q()
Definition: polynomials_bernardi_raugel.cc:55
point.h