Reference documentation for deal.II version 9.5.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\}}\)
Loading...
Searching...
No Matches
fe_bdm.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 2003 - 2023 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
58template <int dim>
59class FE_BDM : public FE_PolyTensor<dim>
60{
61public:
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
84private:
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
129 void
131};
132
134
135#endif
std::vector< std::vector< double > > test_values_face
Definition fe_bdm.h:114
void initialize_support_points(const unsigned int bdm_degree)
Definition fe_bdm.cc:356
std::vector< std::vector< double > > test_values_cell
Definition fe_bdm.h:120
static std::vector< bool > get_ria_vector(const unsigned int degree)
Definition fe_bdm.cc:269
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
Definition fe_bdm.cc:150
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:159
void initialize_quad_dof_index_permutation_and_sign_change()
Definition fe_bdm.cc:115
virtual std::string get_name() const override
Definition fe_bdm.cc:128
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
Definition fe_bdm.cc:245
const unsigned int degree
Definition fe_data.h:453
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:472
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:473