Reference documentation for deal.II version GIT d9d8a449a2 2022-08-17 08:45:02+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\}}\)
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 
24 #include <deal.II/fe/fe_q_base.h>
25 
27 
28 
92 template <int dim, int spacedim = dim>
93 class FE_Q_Bubbles : public FE_Q_Base<dim, spacedim>
94 {
95 public:
100  FE_Q_Bubbles(const unsigned int p);
101 
114  FE_Q_Bubbles(const Quadrature<1> &points);
115 
121  virtual std::string
122  get_name() const override;
123 
124  // documentation inherited from the base class
125  virtual void
127  const std::vector<Vector<double>> &support_point_values,
128  std::vector<double> & nodal_values) const override;
129 
139  virtual void
141  FullMatrix<double> &matrix) const override;
142 
143  virtual const FullMatrix<double> &
145  const unsigned int child,
146  const RefinementCase<dim> &refinement_case) const override;
147 
148  virtual const FullMatrix<double> &
150  const unsigned int child,
151  const RefinementCase<dim> &refinement_case) const override;
152 
161  virtual bool
162  has_support_on_face(const unsigned int shape_index,
163  const unsigned int face_index) const override;
164 
165  virtual std::unique_ptr<FiniteElement<dim, spacedim>>
166  clone() const override;
167 
173  const unsigned int codim = 0) const override final;
174 
175 private:
180  static std::vector<bool>
181  get_riaf_vector(const unsigned int degree);
182 
189  static std::vector<unsigned int>
190  get_dpo_vector(const unsigned int degree);
191 
195  const unsigned int n_bubbles;
196 };
197 
198 
199 
204 
205 #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:195
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)
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
const unsigned int degree
Definition: fe_data.h:449
Definition: vector.h:110
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:442
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:443
@ matrix
Contents is actually a matrix.