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_bdm.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2003 - 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_bdm_h
17 #define dealii_fe_bdm_h
18 
19 #include <deal.II/base/config.h>
20 
25 
26 #include <deal.II/fe/fe.h>
28 
29 #include <vector>
30 
32 
58 template <int dim>
59 class FE_BDM : public FE_PolyTensor<dim>
60 {
61 public:
65  FE_BDM(const unsigned int p);
66 
72  virtual std::string
73  get_name() const override;
74 
75  virtual std::unique_ptr<FiniteElement<dim, dim>>
76  clone() const override;
77 
78  // documentation inherited from the base class
79  virtual void
81  const std::vector<Vector<double>> &support_point_values,
82  std::vector<double> & nodal_values) const override;
83 
84 private:
91  static std::vector<unsigned int>
92  get_dpo_vector(const unsigned int degree);
93 
98  static std::vector<bool>
99  get_ria_vector(const unsigned int degree);
107  void
108  initialize_support_points(const unsigned int bdm_degree);
114  std::vector<std::vector<double>> test_values_face;
120  std::vector<std::vector<double>> test_values_cell;
121 };
122 
124 
125 #endif
tensor_product_polynomials.h
FE_BDM::test_values_face
std::vector< std::vector< double > > test_values_face
Definition: fe_bdm.h:114
FE_BDM::initialize_support_points
void initialize_support_points(const unsigned int bdm_degree)
Definition: fe_bdm.cc:326
polynomial.h
FiniteElementData::degree
const unsigned int degree
Definition: fe_base.h:298
FE_BDM::test_values_cell
std::vector< std::vector< double > > test_values_cell
Definition: fe_bdm.h:120
FE_BDM::get_ria_vector
static std::vector< bool > get_ria_vector(const unsigned int degree)
Definition: fe_bdm.cc:239
polynomials_bdm.h
geometry_info.h
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
FE_BDM::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_bdm.cc:134
FE_BDM::get_dpo_vector
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
Definition: fe_bdm.cc:215
fe.h
FE_BDM
Definition: fe_bdm.h:59
FE_BDM::clone
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
Definition: fe_bdm.cc:125
FE_BDM::FE_BDM
FE_BDM(const unsigned int p)
Definition: fe_bdm.cc:40
fe_poly_tensor.h
FE_BDM::get_name
virtual std::string get_name() const override
Definition: fe_bdm.cc:103
FE_PolyTensor
Definition: fe_poly_tensor.h:143
config.h
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
Vector< double >