Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
tria_faces.h
1 // ---------------------------------------------------------------------
2 // @f$Id: tria_faces.h 30036 2013-07-18 16:55:32Z maier @f$
3 //
4 // Copyright (C) 2006 - 2013 by the deal.II authors
5 //
6 // This file is part of the deal.II library.
7 //
8 // The deal.II library is free software; you can use it, redistribute
9 // it, and/or modify it under the terms of the GNU Lesser General
10 // Public License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
12 // The full text of the license can be found in the file LICENSE at
13 // the top level of the deal.II distribution.
14 //
15 // ---------------------------------------------------------------------
16 
17 #ifndef __deal2__tria_faces_h
18 #define __deal2__tria_faces_h
19 
20 #include <deal.II/base/config.h>
21 #include <deal.II/grid/tria_object.h>
22 #include <deal.II/grid/tria_objects.h>
23 
24 
25 DEAL_II_NAMESPACE_OPEN
26 
27 namespace internal
28 {
29  namespace Triangulation
30  {
46  template<int dim>
47  class TriaFaces
48  {
49  private:
55  TriaFaces();
56  };
57 
58 
59 
65  template<>
66  class TriaFaces<1>
67  {
68 
69  public:
76  std::size_t memory_consumption () const;
77 
82  template <class Archive>
83  void serialize(Archive &ar,
84  const unsigned int version);
85  };
86 
90  template<>
91  class TriaFaces<2>
92  {
93  public:
98 
99  public:
105  std::size_t memory_consumption () const;
106 
111  template <class Archive>
112  void serialize(Archive &ar,
113  const unsigned int version);
114  };
115 
120  template<>
121  class TriaFaces<3>
122  {
123  public:
129 
134 
135  public:
141  std::size_t memory_consumption () const;
142 
147  template <class Archive>
148  void serialize(Archive &ar,
149  const unsigned int version);
150  };
151 
152 
153 
154  template <class Archive>
155  void
157  const unsigned int)
158  {}
159 
160 
161 
162  template <class Archive>
163  void
165  const unsigned int)
166  {
167  ar &lines;
168  }
169 
170 
171 
172  template <class Archive>
173  void
175  const unsigned int)
176  {
177  ar &quads &lines;
178  }
179  }
180 }
181 
182 DEAL_II_NAMESPACE_CLOSE
183 
184 #endif
TriaObjects< TriaObject< 1 > > lines
Definition: tria_faces.h:97
TriaObjects< TriaObject< 1 > > lines
Definition: tria_faces.h:133