deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+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
polynomials_bernardi_raugel.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2018 - 2023 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15
16#ifndef dealii_polynomials_bernardi_raugel_h
17#define dealii_polynomials_bernardi_raugel_h
18
19#include <deal.II/base/config.h>
20
22#include <deal.II/base/point.h>
25#include <deal.II/base/tensor.h>
28
29#include <vector>
30
32
33
83template <int dim>
85{
86public:
94 PolynomialsBernardiRaugel(const unsigned int k);
95
99 std::string
100 name() const override;
101
109 void
110 evaluate(const Point<dim> &unit_point,
111 std::vector<Tensor<1, dim>> &values,
112 std::vector<Tensor<2, dim>> &grads,
113 std::vector<Tensor<3, dim>> &grad_grads,
114 std::vector<Tensor<4, dim>> &third_derivatives,
115 std::vector<Tensor<5, dim>> &fourth_derivatives) const override;
116
122 static unsigned int
123 n_polynomials(const unsigned int k);
124
128 virtual std::unique_ptr<TensorPolynomialsBase<dim>>
129 clone() const override;
130
131private:
139
146
151 static std::vector<std::vector<Polynomials::Polynomial<double>>>
153
158 static std::vector<std::vector<Polynomials::Polynomial<double>>>
160};
161
162
163template <int dim>
164inline std::string
166{
167 return "BernardiRaugel";
168}
169
170
172
173#endif
Definition point.h:111
static std::vector< std::vector< Polynomials::Polynomial< double > > > create_polynomials_bubble()
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
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)
const AnisotropicPolynomials< dim > polynomial_space_Q
std::string name() const override
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:498
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:499