Reference documentation for deal.II version GIT relicensing-233-g802318d791 2024-03-28 20:20:02+00:00
\(\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_pyramid_p.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2021 - 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_fe_p_pyramids_h
16#define dealii_fe_fe_p_pyramids_h
17
18#include <deal.II/base/config.h>
19
21
22#include <deal.II/fe/fe_poly.h>
23
25
34template <int dim, int spacedim = dim>
35class FE_PyramidPoly : public ::FE_Poly<dim, spacedim>
36{
37public:
41 FE_PyramidPoly(const unsigned int degree,
43 const typename FiniteElementData<dim>::Conformity conformity);
44
48 virtual void
50 const std::vector<Vector<double>> &support_point_values,
51 std::vector<double> &nodal_values) const override;
52};
53
65template <int dim, int spacedim = dim>
66class FE_PyramidP : public FE_PyramidPoly<dim, spacedim>
67{
68public:
72 FE_PyramidP(const unsigned int degree);
73
77 std::unique_ptr<FiniteElement<dim, spacedim>>
78 clone() const override;
79
85 std::string
86 get_name() const override;
87
93 const unsigned int codim) const override;
94
98 std::vector<std::pair<unsigned int, unsigned int>>
100 const FiniteElement<dim, spacedim> &fe_other) const override;
101
105 std::vector<std::pair<unsigned int, unsigned int>>
107 const FiniteElement<dim, spacedim> &fe_other) const override;
108
112 std::vector<std::pair<unsigned int, unsigned int>>
114 const unsigned int face_no = 0) const override;
115};
116
128template <int dim, int spacedim = dim>
129class FE_PyramidDGP : public FE_PyramidPoly<dim, spacedim>
130{
131public:
135 FE_PyramidDGP(const unsigned int degree);
136
140 std::unique_ptr<FiniteElement<dim, spacedim>>
141 clone() const override;
142
148 std::string
149 get_name() const override;
150};
151
153
154#endif
std::string get_name() const override
std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
std::unique_ptr< FiniteElement< dim, spacedim > > clone() 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
std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other, const unsigned int face_no=0) const override
std::string get_name() const override
FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim) 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
const unsigned int degree
Definition fe_data.h:452
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:502
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:503