Reference documentation for deal.II version 8.5.1
fe_bdm.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2003 - 2017 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_bdm_h
17 #define dealii__fe_bdm_h
18 
19 #include <deal.II/base/config.h>
20 #include <deal.II/base/table.h>
21 #include <deal.II/base/polynomials_bdm.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 
55 template <int dim>
56 class FE_BDM
57  :
58  public FE_PolyTensor<PolynomialsBDM<dim>, dim>
59 {
60 public:
64  FE_BDM (const unsigned int p);
65 
71  virtual std::string get_name () const;
72 
73  virtual FiniteElement<dim> *clone () const;
74 
75  // documentation inherited from the base class
76  virtual
77  void
78  convert_generalized_support_point_values_to_nodal_values (const std::vector<Vector<double> > &support_point_values,
79  std::vector<double> &nodal_values) const;
80 
81  virtual void interpolate(std::vector<double> &local_dofs,
82  const std::vector<double> &values) const DEAL_II_DEPRECATED;
83 
84  virtual void interpolate(std::vector<double> &local_dofs,
85  const std::vector<Vector<double> > &values,
86  const unsigned int offset = 0) const DEAL_II_DEPRECATED;
87 
88  virtual void interpolate(std::vector<double> &local_dofs,
89  const VectorSlice<const std::vector<std::vector<double> > > &values) const DEAL_II_DEPRECATED;
90 
91 private:
98  static std::vector<unsigned int>
99  get_dpo_vector (const unsigned int degree);
100 
105  static std::vector<bool>
106  get_ria_vector (const unsigned int degree);
114  void initialize_support_points (const unsigned int bdm_degree);
120  std::vector<std::vector<double> > test_values_face;
126  std::vector<std::vector<double> > test_values_cell;
127 };
128 
129 DEAL_II_NAMESPACE_CLOSE
130 
131 #endif
std::vector< std::vector< double > > test_values_cell
Definition: fe_bdm.h:126
void initialize_support_points(const unsigned int bdm_degree)
Definition: fe_bdm.cc:392
virtual void convert_generalized_support_point_values_to_nodal_values(const std::vector< Vector< double > > &support_point_values, std::vector< double > &nodal_values) const
Definition: fe_bdm.cc:128
const unsigned int degree
Definition: fe_base.h:311
Definition: fe_bdm.h:56
static std::vector< bool > get_ria_vector(const unsigned int degree)
Definition: fe_bdm.cc:317
FE_BDM(const unsigned int p)
Definition: fe_bdm.cc:37
virtual FiniteElement< dim > * clone() const
Definition: fe_bdm.cc:118
virtual void interpolate(std::vector< double > &local_dofs, const std::vector< double > &values) const 1
Definition: fe_bdm.cc:198
virtual std::string get_name() const
Definition: fe_bdm.cc:96
std::vector< std::vector< double > > test_values_face
Definition: fe_bdm.h:120
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
Definition: fe_bdm.cc:292