Reference documentation for deal.II version 9.2.0
\(\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 - 2018 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 
31 
83 template <int dim, int spacedim = dim>
85  : public FE_Q_Base<TensorProductPolynomialsBubbles<dim>, dim, spacedim>
86 {
87 public:
93  FE_Q_Bubbles(const unsigned int p);
94 
101  FE_Q_Bubbles(const Quadrature<1> &points);
102 
108  virtual std::string
109  get_name() const override;
110 
111  // documentation inherited from the base class
112  virtual void
114  const std::vector<Vector<double>> &support_point_values,
115  std::vector<double> & nodal_values) const override;
116 
126  virtual void
128  FullMatrix<double> &matrix) const override;
129 
130  virtual const FullMatrix<double> &
132  const unsigned int child,
133  const RefinementCase<dim> &refinement_case) const override;
134 
135  virtual const FullMatrix<double> &
137  const unsigned int child,
138  const RefinementCase<dim> &refinement_case) const override;
139 
148  virtual bool
149  has_support_on_face(const unsigned int shape_index,
150  const unsigned int face_index) const override;
151 
152  virtual std::unique_ptr<FiniteElement<dim, spacedim>>
153  clone() const override;
154 
160  const unsigned int codim = 0) const override final;
161 
162 private:
167  static std::vector<bool>
168  get_riaf_vector(const unsigned int degree);
169 
176  static std::vector<unsigned int>
177  get_dpo_vector(const unsigned int degree);
178 
182  const unsigned int n_bubbles;
183 };
184 
185 
186 
191 
192 #endif
tensor_product_polynomials_bubbles.h
FE_Q_Bubbles::get_prolongation_matrix
virtual const FullMatrix< double > & get_prolongation_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case) const override
Definition: fe_q_bubbles.cc:461
FE_Q_Bubbles::has_support_on_face
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
Definition: fe_q_bubbles.cc:445
FE_Q_Bubbles::get_name
virtual std::string get_name() const override
Definition: fe_q_bubbles.cc:265
fe_q_base.h
FE_Q_Base
Definition: fe_q_base.h:44
FE_Q_Bubbles::n_bubbles
const unsigned int n_bubbles
Definition: fe_q_bubbles.h:182
FE_Q_Bubbles::convert_generalized_support_point_values_to_dof_values
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
Definition: fe_q_bubbles.cc:354
FE_Q_Bubbles::compare_for_domination
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
Definition: fe_q_bubbles.cc:504
FE_Q_Bubbles::clone
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
Definition: fe_q_bubbles.cc:344
FE_Q_Bubbles::get_dpo_vector
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
Definition: fe_q_bubbles.cc:430
FiniteElementData::degree
const unsigned int degree
Definition: fe_base.h:298
FiniteElementDomination::Domination
Domination
Definition: fe_base.h:83
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
RefinementCase
Definition: geometry_info.h:795
FE_Q_Bubbles::get_riaf_vector
static std::vector< bool > get_riaf_vector(const unsigned int degree)
Definition: fe_q_bubbles.cc:419
LAPACKSupport::matrix
@ matrix
Contents is actually a matrix.
Definition: lapack_support.h:60
FiniteElement
Definition: fe.h:648
FE_Q_Bubbles
Definition: fe_q_bubbles.h:84
FE_Q_Bubbles::get_interpolation_matrix
virtual void get_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const override
Definition: fe_q_bubbles.cc:383
FE_Q_Bubbles::FE_Q_Bubbles
FE_Q_Bubbles(const unsigned int p)
Definition: fe_q_bubbles.cc:185
config.h
FullMatrix< double >
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
Quadrature< 1 >
Vector< double >
FE_Q_Bubbles::get_restriction_matrix
virtual const FullMatrix< double > & get_restriction_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case) const override
Definition: fe_q_bubbles.cc:482