Reference documentation for deal.II version Git 78a8940608 2021-04-17 09:24:19 -0400
\(\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  {
43  class TriaFaces
44  {
45  public:
49  TriaFaces(const unsigned int dim);
50 
54  TriaFaces() = default;
55 
59  unsigned int dim;
60 
67 
73  std::vector<unsigned char> quads_line_orientations;
74 
80  std::vector<::ReferenceCell> quad_reference_cell;
81 
88 
93  std::size_t
94  memory_consumption() const;
95 
101  template <class Archive>
102  void
103  serialize(Archive &ar, const unsigned int version);
104  };
105 
106 
107 
108  template <class Archive>
109  void
110  TriaFaces::serialize(Archive &ar, const unsigned int)
111  {
112  ar &dim;
113 
114  if (dim == 2)
115  ar &lines;
116 
117  if (dim == 3)
119  }
120  } // namespace TriangulationImplementation
121 } // namespace internal
122 
124 
125 #endif
std::vector<::ReferenceCell > quad_reference_cell
Definition: tria_faces.h:80
std::vector< unsigned char > quads_line_orientations
Definition: tria_faces.h:73
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:396
void serialize(Archive &ar, const unsigned int version)
Definition: tria_faces.h:110
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:395