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_rt_bubbles.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2018 - 2019 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 #ifndef dealii_fe_raviart_thomas_bubbles_h
17 #define dealii_fe_raviart_thomas_bubbles_h
18 
19 #include <deal.II/base/config.h>
20 
25 
26 #include <deal.II/fe/fe.h>
28 
29 #include <vector>
30 
32 
89 template <int dim>
90 class FE_RT_Bubbles : public FE_PolyTensor<dim>
91 {
92 public:
96  FE_RT_Bubbles(const unsigned int k);
97 
103  virtual std::string
104  get_name() const override;
105 
106  virtual std::unique_ptr<FiniteElement<dim, dim>>
107  clone() const override;
108 
109  // documentation inherited from the base class
110  virtual void
112  const std::vector<Vector<double>> &support_point_values,
113  std::vector<double> & nodal_values) const override;
114 
115 private:
122  static std::vector<unsigned int>
123  get_dpo_vector(const unsigned int degree);
124 
129  static std::vector<bool>
130  get_ria_vector(const unsigned int degree);
131 
141  void
142  initialize_support_points(const unsigned int rt_degree);
143 };
144 
145 
147 
148 #endif
tensor_product_polynomials.h
polynomial.h
FE_RT_Bubbles::clone
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
Definition: fe_rt_bubbles.cc:118
polynomials_rt_bubbles.h
FE_RT_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_rt_bubbles.cc:262
FiniteElementData::degree
const unsigned int degree
Definition: fe_base.h:298
geometry_info.h
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
fe.h
FE_RT_Bubbles::get_dpo_vector
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
Definition: fe_rt_bubbles.cc:207
FE_RT_Bubbles
Definition: fe_rt_bubbles.h:90
fe_poly_tensor.h
FE_RT_Bubbles::initialize_support_points
void initialize_support_points(const unsigned int rt_degree)
Definition: fe_rt_bubbles.cc:132
FE_PolyTensor
Definition: fe_poly_tensor.h:143
config.h
FE_RT_Bubbles::FE_RT_Bubbles
FE_RT_Bubbles(const unsigned int k)
Definition: fe_rt_bubbles.cc:39
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
FE_RT_Bubbles::get_name
virtual std::string get_name() const override
Definition: fe_rt_bubbles.cc:104
Vector< double >
FE_RT_Bubbles::get_ria_vector
static std::vector< bool > get_ria_vector(const unsigned int degree)
Definition: fe_rt_bubbles.cc:239