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\}}\)
tria_faces.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2006 - 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_tria_faces_h
17 #define dealii_tria_faces_h
18 
19 #include <deal.II/base/config.h>
20 
23 
24 
26 
27 namespace internal
28 {
29  namespace TriangulationImplementation
30  {
49  template <int dim>
50  class TriaFaces
51  {
52  public:
57  TriaFaces() = delete;
58  };
59 
60 
61 
68  template <>
69  class TriaFaces<1>
70  {
71  public:
76  std::size_t
77  memory_consumption() const;
78 
83  template <class Archive>
84  void
85  serialize(Archive &ar, const unsigned int version);
86  };
87 
91  template <>
92  class TriaFaces<2>
93  {
94  public:
99 
100  public:
105  std::size_t
106  memory_consumption() const;
107 
112  template <class Archive>
113  void
114  serialize(Archive &ar, const unsigned int version);
115  };
116 
121  template <>
122  class TriaFaces<3>
123  {
124  public:
130 
135 
136  public:
141  std::size_t
142  memory_consumption() const;
143 
148  template <class Archive>
149  void
150  serialize(Archive &ar, const unsigned int version);
151  };
152 
153 
154 
155  template <class Archive>
156  void
157  TriaFaces<1>::serialize(Archive &, const unsigned int)
158  {}
159 
160 
161 
162  template <class Archive>
163  void
164  TriaFaces<2>::serialize(Archive &ar, const unsigned int)
165  {
166  ar &lines;
167  }
168 
169 
170 
171  template <class Archive>
172  void
173  TriaFaces<3>::serialize(Archive &ar, const unsigned int)
174  {
175  ar &quads &lines;
176  }
177  } // namespace TriangulationImplementation
178 } // namespace internal
179 
181 
182 #endif
tria_object.h
tria_objects.h
internal::TriangulationImplementation::TriaFaces::TriaFaces
TriaFaces()=delete
internal::TriangulationImplementation::TriaObjects
Definition: tria_accessor.h:58
internal::TriangulationImplementation::TriaFaces< 3 >::lines
TriaObjects< TriaObject< 1 > > lines
Definition: tria_faces.h:134
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
MemoryConsumption::memory_consumption
std::enable_if< std::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)
Definition: memory_consumption.h:268
internal::TriangulationImplementation::TriaFaces< 2 >::lines
TriaObjects< TriaObject< 1 > > lines
Definition: tria_faces.h:98
config.h
internal::TriangulationImplementation::TriaFaces
Definition: tria_faces.h:50
internal::TriangulationImplementation::TriaFaces< 3 >::quads
TriaObjectsQuad3D quads
Definition: tria_faces.h:129
internal
Definition: aligned_vector.h:369
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
internal::TriangulationImplementation::TriaObjectsQuad3D
Definition: tria_objects.h:518