Reference documentation for deal.II version 9.3.3
\(\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_simplex_p.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 2020 - 2021 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_fe_p_h
17#define dealii_fe_fe_p_h
18
19#include <deal.II/base/config.h>
20
22
23#include <deal.II/fe/fe_poly.h>
24
26
34template <int dim, int spacedim = dim>
35class FE_SimplexPoly : public ::FE_Poly<dim, spacedim>
36{
37public:
41 FE_SimplexPoly(const unsigned int degree,
42 const std::vector<unsigned int> & dpo_vector,
43 const typename FiniteElementData<dim>::Conformity conformity);
44
49 virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
50 get_constant_modes() const override;
51
57 virtual const FullMatrix<double> &
59 const unsigned int child,
60 const RefinementCase<dim> &refinement_case =
62
68 virtual const FullMatrix<double> &
70 const unsigned int child,
71 const RefinementCase<dim> &refinement_case =
73
77 void
79 FullMatrix<double> &interpolation_matrix,
80 const unsigned int face_no) const override;
81
85 void
87 const FiniteElement<dim, spacedim> &x_source_fe,
88 const unsigned int subface,
89 FullMatrix<double> & interpolation_matrix,
90 const unsigned int face_no) const override;
91
95 bool
96 hp_constraints_are_implemented() const override;
97
101 virtual void
103 const std::vector<Vector<double>> &support_point_values,
104 std::vector<double> & nodal_values) const override;
105
107};
108
109
110
118template <int dim, int spacedim = dim>
119class FE_SimplexP : public FE_SimplexPoly<dim, spacedim>
120{
121public:
125 FE_SimplexP(const unsigned int degree);
126
130 std::unique_ptr<FiniteElement<dim, spacedim>>
131 clone() const override;
132
138 std::string
139 get_name() const override;
140
146 const unsigned int codim) const override;
147
151 std::vector<std::pair<unsigned int, unsigned int>>
153 const FiniteElement<dim, spacedim> &fe_other) const override;
154
158 std::vector<std::pair<unsigned int, unsigned int>>
160 const FiniteElement<dim, spacedim> &fe_other) const override;
161};
162
163
164
173template <int dim, int spacedim = dim>
174class FE_SimplexDGP : public FE_SimplexPoly<dim, spacedim>
175{
176public:
180 FE_SimplexDGP(const unsigned int degree);
181
185 std::unique_ptr<FiniteElement<dim, spacedim>>
186 clone() const override;
187
193 std::string
194 get_name() const override;
195
201 const unsigned int codim) const override;
202
206 std::vector<std::pair<unsigned int, unsigned int>>
208 const FiniteElement<dim, spacedim> &fe_other) const override;
209
213 std::vector<std::pair<unsigned int, unsigned int>>
215 const FiniteElement<dim, spacedim> &fe_other) const override;
216};
217
219
220#endif
FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim) const override
std::string get_name() const override
std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
FE_SimplexDGP(const unsigned int degree)
std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
FE_SimplexP(const unsigned int degree)
std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim) const override
std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
std::string get_name() const override
std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &x_source_fe, const unsigned int subface, FullMatrix< double > &interpolation_matrix, const unsigned int face_no) const override
virtual const FullMatrix< double > & get_restriction_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) 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
bool hp_constraints_are_implemented() const override
Threads::Mutex mutex
Definition: fe_simplex_p.h:106
virtual const FullMatrix< double > & get_prolongation_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const override
FE_SimplexPoly(const unsigned int degree, const std::vector< unsigned int > &dpo_vector, const typename FiniteElementData< dim >::Conformity conformity)
void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source_fe, FullMatrix< double > &interpolation_matrix, const unsigned int face_no) const override
const unsigned int degree
Definition: fe_base.h:435
Definition: vector.h:110
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:402
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:403