Reference documentation for deal.II version 9.5.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_pyramid_p.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 2020 - 2023 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_pyramids_h
17#define dealii_fe_fe_p_pyramids_h
18
19#include <deal.II/base/config.h>
20
22
23#include <deal.II/fe/fe_poly.h>
24
26
35template <int dim, int spacedim = dim>
36class FE_PyramidPoly : public ::FE_Poly<dim, spacedim>
37{
38public:
42 FE_PyramidPoly(const unsigned int degree,
44 const typename FiniteElementData<dim>::Conformity conformity);
45
49 virtual void
51 const std::vector<Vector<double>> &support_point_values,
52 std::vector<double> & nodal_values) const override;
53};
54
66template <int dim, int spacedim = dim>
67class FE_PyramidP : public FE_PyramidPoly<dim, spacedim>
68{
69public:
73 FE_PyramidP(const unsigned int degree);
74
78 std::unique_ptr<FiniteElement<dim, spacedim>>
79 clone() const override;
80
86 std::string
87 get_name() const override;
88
94 const unsigned int codim) const override;
95
99 std::vector<std::pair<unsigned int, unsigned int>>
101 const FiniteElement<dim, spacedim> &fe_other) const override;
102
106 std::vector<std::pair<unsigned int, unsigned int>>
108 const FiniteElement<dim, spacedim> &fe_other) const override;
109
113 std::vector<std::pair<unsigned int, unsigned int>>
115 const unsigned int face_no = 0) const override;
116};
117
129template <int dim, int spacedim = dim>
130class FE_PyramidDGP : public FE_PyramidPoly<dim, spacedim>
131{
132public:
136 FE_PyramidDGP(const unsigned int degree);
137
141 std::unique_ptr<FiniteElement<dim, spacedim>>
142 clone() const override;
143
149 std::string
150 get_name() const override;
151};
152
154
155#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:453
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:472
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:473