Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
fe_bernardi_raugel.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2004 - 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_bernardi_raugel_h
17 #define dealii_fe_bernardi_raugel_h
18 
19 #include <deal.II/base/config.h>
20 
21 #include <deal.II/base/geometry_info.h>
22 #include <deal.II/base/polynomial.h>
23 #include <deal.II/base/polynomials_bernardi_raugel.h>
24 #include <deal.II/base/tensor_product_polynomials.h>
25 
26 #include <deal.II/fe/fe.h>
27 #include <deal.II/fe/fe_poly_tensor.h>
28 
29 #include <vector>
30 
31 DEAL_II_NAMESPACE_OPEN
32 
86 template <int dim>
88  : public FE_PolyTensor<PolynomialsBernardiRaugel<dim>, dim>
89 {
90 public:
97  FE_BernardiRaugel(const unsigned int p = 1);
98 
104  virtual std::string
105  get_name() const override;
106 
107  virtual std::unique_ptr<FiniteElement<dim, dim>>
108  clone() const override;
109 
110  // documentation inherited from the base class
111  virtual void
113  const std::vector<Vector<double>> &support_point_values,
114  std::vector<double> & nodal_values) const override;
115 
116 private:
123  static std::vector<unsigned int>
124  get_dpo_vector();
125 
133  void
135 };
136 
137 DEAL_II_NAMESPACE_CLOSE
138 
139 #endif
FE_BernardiRaugel(const unsigned int p=1)
virtual std::string get_name() const override
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
static std::vector< unsigned int > get_dpo_vector()
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override