Reference documentation for deal.II version 9.6.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// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2010 - 2023 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15#ifndef dealii_fe_bdm_h
16#define dealii_fe_bdm_h
17
18#include <deal.II/base/config.h>
19
24
25#include <deal.II/fe/fe.h>
27
28#include <vector>
29
31
57template <int dim>
58class FE_BDM : public FE_PolyTensor<dim>
59{
60public:
64 FE_BDM(const unsigned int p);
65
71 virtual std::string
72 get_name() const override;
73
74 virtual std::unique_ptr<FiniteElement<dim, dim>>
75 clone() const override;
76
77 // documentation inherited from the base class
78 virtual void
80 const std::vector<Vector<double>> &support_point_values,
81 std::vector<double> &nodal_values) const override;
82
83private:
90 static std::vector<unsigned int>
91 get_dpo_vector(const unsigned int degree);
92
97 static std::vector<bool>
98 get_ria_vector(const unsigned int degree);
106 void
107 initialize_support_points(const unsigned int bdm_degree);
113 std::vector<std::vector<double>> test_values_face;
119 std::vector<std::vector<double>> test_values_cell;
120
128 void
130};
131
133
134#endif
std::vector< std::vector< double > > test_values_face
Definition fe_bdm.h:113
void initialize_support_points(const unsigned int bdm_degree)
Definition fe_bdm.cc:355
FE_BDM(const unsigned int p)
Definition fe_bdm.cc:43
std::vector< std::vector< double > > test_values_cell
Definition fe_bdm.h:119
static std::vector< bool > get_ria_vector(const unsigned int degree)
Definition fe_bdm.cc:268
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
Definition fe_bdm.cc:149
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:158
void initialize_quad_dof_index_permutation_and_sign_change()
Definition fe_bdm.cc:114
virtual std::string get_name() const override
Definition fe_bdm.cc:127
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
Definition fe_bdm.cc:244
const unsigned int degree
Definition fe_data.h:452
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504