Reference documentation for deal.II version 9.2.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\}}\)
fe_trace.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2000 - 2018 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_trace_h
17 #define dealii_fe_trace_h
18 
19 #include <deal.II/base/config.h>
20 
22 
23 #include <deal.II/fe/fe_face.h>
25 #include <deal.II/fe/fe_q.h>
26 
28 
45 template <int dim, int spacedim = dim>
46 class FE_TraceQ
47  : public FE_PolyFace<TensorProductPolynomials<dim - 1>, dim, spacedim>
48 {
49 public:
55  FE_TraceQ(unsigned int p);
56 
62  virtual std::string
63  get_name() const override;
64 
65  virtual std::unique_ptr<FiniteElement<dim, spacedim>>
66  clone() const override;
67 
75  virtual void
77  const std::vector<Vector<double>> &support_point_values,
78  std::vector<double> & nodal_values) const override;
79 
84  virtual bool
85  has_support_on_face(const unsigned int shape_index,
86  const unsigned int face_index) const override;
87 
92  virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
93  get_constant_modes() const override;
94 
99  virtual bool
100  hp_constraints_are_implemented() const override;
101 
110  virtual void
112  FullMatrix<double> &matrix) const override;
113 
122  virtual void
124  const unsigned int subface,
125  FullMatrix<double> &matrix) const override;
126 
132  const unsigned int codim = 0) const override final;
133 
134 private:
139 
143  static std::vector<unsigned int>
144  get_dpo_vector(const unsigned int deg);
145 };
146 
147 
148 
152 template <int spacedim>
153 class FE_TraceQ<1, spacedim> : public FE_FaceQ<1, spacedim>
154 {
155 public:
159  FE_TraceQ(const unsigned int p);
160 
164  std::string
165  get_name() const override;
166 };
167 
168 
170 
171 #endif
FE_TraceQ::fe_q
FE_Q< dim, spacedim > fe_q
Definition: fe_trace.h:138
tensor_product_polynomials.h
FE_TraceQ::convert_generalized_support_point_values_to_dof_values
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_trace.cc:131
FE_PolyFace
Definition: fe_poly_face.h:61
FE_TraceQ::hp_constraints_are_implemented
virtual bool hp_constraints_are_implemented() const override
Definition: fe_trace.cc:169
FE_Q
Definition: fe_q.h:554
FE_TraceQ::compare_for_domination
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
Definition: fe_trace.cc:177
FE_TraceQ::get_dpo_vector
static std::vector< unsigned int > get_dpo_vector(const unsigned int deg)
Definition: fe_trace.cc:151
FE_FaceQ
Definition: fe_face.h:57
FE_TraceQ::get_name
virtual std::string get_name() const override
Definition: fe_trace.cc:83
fe_poly_face.h
fe_face.h
FE_TraceQ::clone
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
Definition: fe_trace.cc:74
FE_TraceQ::get_subface_interpolation_matrix
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix) const override
Definition: fe_trace.cc:229
FiniteElementDomination::Domination
Domination
Definition: fe_base.h:83
FE_TraceQ
Definition: fe_trace.h:46
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
FE_TraceQ::FE_TraceQ
FE_TraceQ(unsigned int p)
Definition: fe_trace.cc:38
LAPACKSupport::matrix
@ matrix
Contents is actually a matrix.
Definition: lapack_support.h:60
FE_TraceQ::get_constant_modes
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
Definition: fe_trace.cc:119
fe_q.h
FiniteElement
Definition: fe.h:648
FE_TraceQ::has_support_on_face
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
Definition: fe_trace.cc:100
config.h
FullMatrix< double >
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
Vector< double >
FE_TraceQ::get_face_interpolation_matrix
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const override
Definition: fe_trace.cc:216