deal.II version GIT relicensing-6834-g5b78e6bcdf 2026-10-01 11:20:01+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: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2021 - 2026 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13#ifndef dealii_fe_fe_p_pyramids_h
14#define dealii_fe_fe_p_pyramids_h
15
16#include <deal.II/base/config.h>
17
19
20#include <deal.II/fe/fe_poly.h>
21
23
32template <int dim, int spacedim = dim>
33class FE_PyramidPoly : public ::FE_Poly<dim, spacedim>
34{
35public:
39 FE_PyramidPoly(const unsigned int degree,
41 const std::vector<Point<dim>> support_points,
42 const bool prolongation_is_additive,
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
67template <int dim, int spacedim = dim>
68class FE_PyramidP : public FE_PyramidPoly<dim, spacedim>
69{
70public:
74 FE_PyramidP(const unsigned int degree);
75
79 std::unique_ptr<FiniteElement<dim, spacedim>>
80 clone() const override;
81
87 std::string
88 get_name() const override;
89
95 const unsigned int codim) const override;
96
100 std::vector<std::pair<unsigned int, unsigned int>>
102 const FiniteElement<dim, spacedim> &fe_other) const override;
103
107 std::vector<std::pair<unsigned int, unsigned int>>
109 const FiniteElement<dim, spacedim> &fe_other) const override;
110
114 std::vector<std::pair<unsigned int, unsigned int>>
116 const unsigned int face_no = 0) const override;
117};
118
130template <int dim, int spacedim = dim>
131class FE_PyramidDGP : public FE_PyramidPoly<dim, spacedim>
132{
133public:
137 FE_PyramidDGP(const unsigned int degree);
138
142 std::unique_ptr<FiniteElement<dim, spacedim>>
143 clone() const override;
144
150 std::string
151 get_name() const override;
152};
153
155
156#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:450
Definition point.h:111
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39