Reference documentation for deal.II version GIT defb42778c 2022-12-05 01:15: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\}}\)
fe_wedge_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_wedge_h
17 #define dealii_fe_fe_p_wedge_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_WedgePoly : public ::FE_Poly<dim, spacedim>
36 {
37 public:
41  FE_WedgePoly(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 
65 template <int dim, int spacedim = dim>
66 class FE_WedgeP : public FE_WedgePoly<dim, spacedim>
67 {
68 public:
72  FE_WedgeP(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 
128 template <int dim, int spacedim = dim>
129 class FE_WedgeDGP : public FE_WedgePoly<dim, spacedim>
130 {
131 public:
135  FE_WedgeDGP(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::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
Definition: fe_wedge_p.cc:344
std::string get_name() const override
Definition: fe_wedge_p.cc:353
FE_WedgeDGP(const unsigned int degree)
Definition: fe_wedge_p.cc:334
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
Definition: fe_wedge_p.cc:304
FE_WedgeP(const unsigned int degree)
Definition: fe_wedge_p.cc:165
std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
Definition: fe_wedge_p.cc:267
std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
Definition: fe_wedge_p.cc:283
FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim) const override
Definition: fe_wedge_p.cc:196
std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
Definition: fe_wedge_p.cc:175
std::string get_name() const override
Definition: fe_wedge_p.cc:184
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
Definition: fe_wedge_p.cc:145
FE_WedgePoly(const unsigned int degree, const internal::GenericDoFsPerObject &dpos, const typename FiniteElementData< dim >::Conformity conformity)
Definition: fe_wedge_p.cc:86
const unsigned int degree
Definition: fe_data.h:449
Definition: vector.h:109
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:458
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:459