Reference documentation for deal.II version 9.3.3
\(\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\}}\)
fe_q_bubbles.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 2012 - 2021 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_fe_q_bubbles_h
18#define dealii_fe_q_bubbles_h
19
20#include <deal.II/base/config.h>
21
23
25
27
28
31
90template <int dim, int spacedim = dim>
91class FE_Q_Bubbles : public FE_Q_Base<dim, spacedim>
92{
93public:
98 FE_Q_Bubbles(const unsigned int p);
99
112 FE_Q_Bubbles(const Quadrature<1> &points);
113
119 virtual std::string
120 get_name() const override;
121
122 // documentation inherited from the base class
123 virtual void
125 const std::vector<Vector<double>> &support_point_values,
126 std::vector<double> & nodal_values) const override;
127
137 virtual void
139 FullMatrix<double> &matrix) const override;
140
141 virtual const FullMatrix<double> &
143 const unsigned int child,
144 const RefinementCase<dim> &refinement_case) const override;
145
146 virtual const FullMatrix<double> &
148 const unsigned int child,
149 const RefinementCase<dim> &refinement_case) const override;
150
159 virtual bool
160 has_support_on_face(const unsigned int shape_index,
161 const unsigned int face_index) const override;
162
163 virtual std::unique_ptr<FiniteElement<dim, spacedim>>
164 clone() const override;
165
171 const unsigned int codim = 0) const override final;
172
173private:
178 static std::vector<bool>
179 get_riaf_vector(const unsigned int degree);
180
187 static std::vector<unsigned int>
188 get_dpo_vector(const unsigned int degree);
189
193 const unsigned int n_bubbles;
194};
195
196
197
202
203#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
Definition: fe_q_bubbles.h:193
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
FE_Q_Bubbles(const unsigned int p)
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_base.h:435
Definition: vector.h:110
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:402
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:403
@ matrix
Contents is actually a matrix.