deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30: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
fe_bernstein.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2015 - 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#ifndef dealii_fe_bernstein_h
16#define dealii_fe_bernstein_h
17
18#include <deal.II/base/config.h>
19
21
23
25
26
63template <int dim, int spacedim = dim>
64class FE_Bernstein : public FE_Q_Base<dim, spacedim>
65{
66public:
70 FE_Bernstein(const unsigned int p);
71
79 virtual void
81 FullMatrix<double> &matrix) const override;
82
90 virtual const FullMatrix<double> &
92 const unsigned int child,
93 const RefinementCase<dim> &refinement_case =
95
103 virtual const FullMatrix<double> &
105 const unsigned int child,
106 const RefinementCase<dim> &refinement_case =
108
118 virtual void
120 FullMatrix<double> &matrix,
121 const unsigned int face_no = 0) const override;
122
132 virtual void
134 const FiniteElement<dim, spacedim> &source,
135 const unsigned int subface,
136 FullMatrix<double> &matrix,
137 const unsigned int face_no = 0) const override;
138
143 virtual bool
144 hp_constraints_are_implemented() const override;
145
161 virtual std::vector<std::pair<unsigned int, unsigned int>>
163 const FiniteElement<dim, spacedim> &fe_other) const override;
164
169 virtual std::vector<std::pair<unsigned int, unsigned int>>
171 const FiniteElement<dim, spacedim> &fe_other) const override;
172
177 virtual std::vector<std::pair<unsigned int, unsigned int>>
179 const unsigned int face_no = 0) const override;
180
186 const unsigned int codim = 0) const override final;
187
193 virtual std::string
194 get_name() const override;
195
196 virtual std::unique_ptr<FiniteElement<dim, spacedim>>
197 clone() const override;
198
199protected:
206 static std::vector<unsigned int>
207 get_dpo_vector(const unsigned int degree);
208
214 renumber_bases(const unsigned int degree);
215};
216
217
218
222
223#endif
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other, const unsigned int face_no=0) const override
virtual bool hp_constraints_are_implemented() const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual const FullMatrix< double > & get_prolongation_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const override
TensorProductPolynomials< dim > renumber_bases(const unsigned int degree)
virtual std::string get_name() const override
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
virtual void get_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const override
virtual const FullMatrix< double > & get_restriction_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const override
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
const unsigned int degree
Definition fe_data.h:452
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:498
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:499