deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+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 - 2024 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
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:452
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:498
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:499