Reference documentation for deal.II version 9.6.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_trace.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2014 - 2023 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_trace_h
16#define dealii_fe_trace_h
17
18#include <deal.II/base/config.h>
19
21
22#include <deal.II/fe/fe_face.h>
24#include <deal.II/fe/fe_q.h>
25
27
44template <int dim, int spacedim = dim>
46 : public FE_PolyFace<TensorProductPolynomials<dim - 1>, dim, spacedim>
47{
48public:
54 FE_TraceQ(unsigned int p);
55
61 virtual std::string
62 get_name() const override;
63
64 virtual std::unique_ptr<FiniteElement<dim, spacedim>>
65 clone() const override;
66
74 virtual void
76 const std::vector<Vector<double>> &support_point_values,
77 std::vector<double> &nodal_values) const override;
78
83 virtual bool
84 has_support_on_face(const unsigned int shape_index,
85 const unsigned int face_index) const override;
86
91 virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
92 get_constant_modes() const override;
93
98 virtual bool
99 hp_constraints_are_implemented() const override;
100
109 virtual void
111 FullMatrix<double> &matrix,
112 const unsigned int face_no = 0) const override;
113
122 virtual void
124 const FiniteElement<dim, spacedim> &source,
125 const unsigned int subface,
126 FullMatrix<double> &matrix,
127 const unsigned int face_no = 0) const override;
128
134 const unsigned int codim = 0) const override final;
135
136private:
141
145 static std::vector<unsigned int>
146 get_dpo_vector(const unsigned int deg);
147};
148
149
150
154template <int spacedim>
155class FE_TraceQ<1, spacedim> : public FE_FaceQ<1, spacedim>
156{
157public:
161 FE_TraceQ(const unsigned int p);
162
166 std::string
167 get_name() const override;
168};
169
170
172
173#endif
Definition fe_q.h:554
FE_Q< dim, spacedim > fe_q
Definition fe_trace.h:140
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
Definition fe_trace.cc:75
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
Definition fe_trace.cc:101
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
Definition fe_trace.cc:120
virtual bool hp_constraints_are_implemented() const override
Definition fe_trace.cc:170
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
Definition fe_trace.cc:178
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:132
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
Definition fe_trace.cc:232
virtual std::string get_name() const override
Definition fe_trace.cc:84
static std::vector< unsigned int > get_dpo_vector(const unsigned int deg)
Definition fe_trace.cc:152
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
Definition fe_trace.cc:217
FE_TraceQ(unsigned int p)
Definition fe_trace.cc:36
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504