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
fe_q_bubbles.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
16#ifndef dealii_fe_q_bubbles_h
17#define dealii_fe_q_bubbles_h
18
19#include <deal.II/base/config.h>
20
22
24
26
27
91template <int dim, int spacedim = dim>
92class FE_Q_Bubbles : public FE_Q_Base<dim, spacedim>
93{
94public:
99 FE_Q_Bubbles(const unsigned int p);
100
113 FE_Q_Bubbles(const Quadrature<1> &points);
114
120 virtual std::string
121 get_name() const override;
122
123 // documentation inherited from the base class
124 virtual void
126 const std::vector<Vector<double>> &support_point_values,
127 std::vector<double> &nodal_values) const override;
128
138 virtual void
140 FullMatrix<double> &matrix) const override;
141
142 virtual const FullMatrix<double> &
144 const unsigned int child,
145 const RefinementCase<dim> &refinement_case) const override;
146
147 virtual const FullMatrix<double> &
149 const unsigned int child,
150 const RefinementCase<dim> &refinement_case) const override;
151
160 virtual bool
161 has_support_on_face(const unsigned int shape_index,
162 const unsigned int face_index) const override;
163
164 virtual std::unique_ptr<FiniteElement<dim, spacedim>>
165 clone() const override;
166
172 const unsigned int codim = 0) const override final;
173
174private:
179 static std::vector<bool>
180 get_riaf_vector(const unsigned int degree);
181
188 static std::vector<unsigned int>
189 get_dpo_vector(const unsigned int degree);
190
194 const unsigned int n_bubbles;
195};
196
197
198
203
204#endif
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
static std::vector< bool > get_riaf_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) const override
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
virtual const FullMatrix< double > & get_prolongation_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case) const override
const unsigned int n_bubbles
virtual void convert_generalized_support_point_values_to_dof_values(const std::vector< Vector< double > > &support_point_values, std::vector< double > &nodal_values) const override
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
virtual std::string get_name() const override
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
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