Reference documentation for deal.II version Git b1a5775265 2021-07-23 17:28:58 -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\}}\)
dof_iterator_selector.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1998 - 2020 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_dof_iterators_h
17 #define dealii_dof_iterators_h
18 
19 #include <deal.II/base/config.h>
20 
21 
23 
24 // Forward declarations
25 #ifndef DOXYGEN
26 template <int, int, int>
27 class DoFInvalidAccessor;
28 
29 template <int structdim, int dim, int spacedim, bool lda>
30 class DoFAccessor;
31 template <int dim, int spacedim, bool lda>
32 class DoFCellAccessor;
33 
34 template <int dim, int spacedim>
35 class DoFHandler;
36 
37 template <typename Accessor>
38 class TriaRawIterator;
39 template <typename Accessor>
40 class TriaIterator;
41 template <typename Accessor>
42 class TriaActiveIterator;
43 #endif
44 
45 namespace internal
46 {
47  namespace DoFHandlerImplementation
48  {
49  template <int dim, int spacedim, bool lda = false>
50  struct Iterators;
51 
52 
62  template <int spacedim, bool lda>
63  struct Iterators<1, spacedim, lda>
64  {
67 
71 
72  using raw_quad_iterator =
75  using active_quad_iterator =
77 
78  using raw_hex_iterator =
81  using active_hex_iterator =
83 
87 
91  };
92 
93 
94 
104  template <int spacedim, bool lda>
105  struct Iterators<2, spacedim, lda>
106  {
109 
113 
117 
118  using raw_hex_iterator =
121  using active_hex_iterator =
123 
127 
131  };
132 
133 
134 
144  template <int spacedim, bool lda>
145  struct Iterators<3, spacedim, lda>
146  {
149 
150  using raw_line_iterator =
152  using line_iterator =
154  using active_line_iterator =
156 
160 
164 
168 
172  };
173  } // namespace DoFHandlerImplementation
174 } // namespace internal
175 
177 
178 #endif // dealii_dof_iterator_selector_h
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:401
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:400