Reference documentation for deal.II version Git 500a7ed831 2022-01-17 20:04:17 -0700
\(\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_pyramid_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_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 
34 template <int dim, int spacedim = dim>
35 class FE_PyramidPoly : public ::FE_Poly<dim, spacedim>
36 {
37 public:
41  FE_PyramidPoly(const unsigned int degree,
42  const internal::GenericDoFsPerObject & dpos,
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 
64 template <int dim, int spacedim = dim>
65 class FE_PyramidP : public FE_PyramidPoly<dim, spacedim>
66 {
67 public:
71  FE_PyramidP(const unsigned int degree);
72 
76  std::unique_ptr<FiniteElement<dim, spacedim>>
77  clone() const override;
78 
84  std::string
85  get_name() const override;
86 
92  const unsigned int codim) const override;
93 
97  std::vector<std::pair<unsigned int, unsigned int>>
99  const FiniteElement<dim, spacedim> &fe_other) const override;
100 
104  std::vector<std::pair<unsigned int, unsigned int>>
106  const FiniteElement<dim, spacedim> &fe_other) const override;
107 
111  std::vector<std::pair<unsigned int, unsigned int>>
113  const unsigned int face_no = 0) const override;
114 };
115 
126 template <int dim, int spacedim = dim>
127 class FE_PyramidDGP : public FE_PyramidPoly<dim, spacedim>
128 {
129 public:
133  FE_PyramidDGP(const unsigned int degree);
134 
138  std::unique_ptr<FiniteElement<dim, spacedim>>
139  clone() const override;
140 
146  std::string
147  get_name() const override;
148 };
149 
151 
152 #endif
FE_PyramidPoly(const unsigned int degree, const internal::GenericDoFsPerObject &dpos, const typename FiniteElementData< dim >::Conformity conformity)
Definition: fe_pyramid_p.cc:76
const unsigned int degree
Definition: fe_base.h:436
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const =0
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:407
virtual std::string get_name() const =0
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
Definition: fe.cc:981
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
Definition: fe.cc:992
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const
Definition: fe.cc:1015
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:406
virtual 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
Definition: fe.cc:1003
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