Reference documentation for deal.II version 9.0.0
fe_rt_bubbles.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 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 at
12 // the top level of the deal.II distribution.
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 #include <deal.II/base/table.h>
21 #include <deal.II/base/polynomials_rt_bubbles.h>
22 #include <deal.II/base/polynomial.h>
23 #include <deal.II/base/tensor_product_polynomials.h>
24 #include <deal.II/base/geometry_info.h>
25 #include <deal.II/fe/fe.h>
26 #include <deal.II/fe/fe_poly_tensor.h>
27 
28 #include <vector>
29 
30 DEAL_II_NAMESPACE_OPEN
31 
87 template <int dim>
89  :
90  public FE_PolyTensor<PolynomialsRT_Bubbles<dim>, dim>
91 {
92 public:
96  FE_RT_Bubbles (const unsigned int k);
97 
103  virtual std::string get_name () const override;
104 
105  virtual std::unique_ptr<FiniteElement<dim,dim> >
106  clone () const override;
107 
108  // documentation inherited from the base class
109  virtual
110  void
111  convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
112  std::vector<double> &nodal_values) const override;
113 
114 private:
121  static std::vector<unsigned int>
122  get_dpo_vector (const unsigned int degree);
123 
128  static std::vector<bool>
129  get_ria_vector (const unsigned int degree);
130 
140  void initialize_support_points (const unsigned int rt_degree);
141 };
142 
143 
144 DEAL_II_NAMESPACE_CLOSE
145 
146 #endif
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:311
FE_RT_Bubbles(const unsigned int k)
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
void initialize_support_points(const unsigned int rt_degree)
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
static std::vector< bool > get_ria_vector(const unsigned int degree)