deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+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: 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// 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_dof_faces_h
16#define dealii_dof_faces_h
17
18
19#include <deal.II/base/config.h>
20
22
24
25#include <vector>
26
28
29namespace internal
30{
37 namespace DoFHandlerImplementation
38 {
66 template <int dim>
68 {
69 public:
74 DoFFaces() = delete;
75 };
76
81 template <>
82 class DoFFaces<1>
83 {
84 public:
89 std::size_t
90 memory_consumption() const;
91
98 template <class Archive>
99 void
100 serialize(Archive &ar, const unsigned int version);
101 };
102
107 template <>
108 class DoFFaces<2>
109 {
110 public:
115
120 std::size_t
121 memory_consumption() const;
122
128 template <class Archive>
129 void
130 serialize(Archive &ar, const unsigned int version);
131 };
132
137 template <>
138 class DoFFaces<3>
139 {
140 public:
145
150
155 std::size_t
156 memory_consumption() const;
157
163 template <class Archive>
164 void
165 serialize(Archive &ar, const unsigned int version);
166 };
167
168
169
170 template <class Archive>
171 void
172 DoFFaces<1>::serialize(Archive &, const unsigned int)
173 {}
174
175
176 template <class Archive>
177 void
178 DoFFaces<2>::serialize(Archive &ar, const unsigned int)
179 {
180 ar &lines;
181 }
182
183
184 template <class Archive>
185 void
186 DoFFaces<3>::serialize(Archive &ar, const unsigned int)
187 {
188 ar &lines &quads;
189 }
190
191 } // namespace DoFHandlerImplementation
192} // namespace internal
193
195
196#endif
internal::DoFHandlerImplementation::DoFObjects< 1 > lines
Definition dof_faces.h:114
internal::DoFHandlerImplementation::DoFObjects< 1 > lines
Definition dof_faces.h:144
internal::DoFHandlerImplementation::DoFObjects< 2 > quads
Definition dof_faces.h:149
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:498
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:499