deal.II version GIT relicensing-6842-g793a97d2aa 2026-10-02 14:00:01+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\}}\)
Loading...
Searching...
No Matches
dof_faces.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2006 - 2023 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13#ifndef dealii_dof_faces_h
14#define dealii_dof_faces_h
15
16
17#include <deal.II/base/config.h>
18
20
22
23#include <vector>
24
26
27namespace internal
28{
35 namespace DoFHandlerImplementation
36 {
64 template <int dim>
66 {
67 public:
72 DoFFaces() = delete;
73 };
74
79 template <>
80 class DoFFaces<1>
81 {
82 public:
87 std::size_t
88 memory_consumption() const;
89
96 template <class Archive>
97 void
98 serialize(Archive &ar, const unsigned int version);
99 };
100
105 template <>
106 class DoFFaces<2>
107 {
108 public:
113
118 std::size_t
119 memory_consumption() const;
120
126 template <class Archive>
127 void
128 serialize(Archive &ar, const unsigned int version);
129 };
130
135 template <>
136 class DoFFaces<3>
137 {
138 public:
143
148
153 std::size_t
154 memory_consumption() const;
155
161 template <class Archive>
162 void
163 serialize(Archive &ar, const unsigned int version);
164 };
165
166
167
168 template <class Archive>
169 void
170 DoFFaces<1>::serialize(Archive &, const unsigned int)
171 {}
172
173
174 template <class Archive>
175 void
176 DoFFaces<2>::serialize(Archive &ar, const unsigned int)
177 {
178 ar &lines;
179 }
180
181
182 template <class Archive>
183 void
184 DoFFaces<3>::serialize(Archive &ar, const unsigned int)
185 {
186 ar &lines &quads;
187 }
188
189 } // namespace DoFHandlerImplementation
190} // namespace internal
191
193
194#endif
internal::DoFHandlerImplementation::DoFObjects< 1 > lines
Definition dof_faces.h:112
internal::DoFHandlerImplementation::DoFObjects< 1 > lines
Definition dof_faces.h:142
internal::DoFHandlerImplementation::DoFObjects< 2 > quads
Definition dof_faces.h:147
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39