Reference documentation for deal.II version 8.4.2
tria_iterator_selector.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2003 - 2015 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 at
12 // the top level of the deal.II distribution.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii__tria_iterator_selector_h
17 #define dealii__tria_iterator_selector_h
18 
19 
20 #include <deal.II/base/config.h>
21 
22 DEAL_II_NAMESPACE_OPEN
23 
24 template <int dim, int spacedim> class CellAccessor;
25 template <int, int, int> class TriaAccessorBase;
26 template <int, int, int> class InvalidAccessor;
27 template <int, int, int> class TriaAccessor;
28 template <int dim, int spacedim> class TriaAccessor<0, dim, spacedim>;
29 template <typename Accessor> class TriaRawIterator;
30 template <typename Accessor> class TriaIterator;
31 template <typename Accessor> class TriaActiveIterator;
32 
33 namespace internal
34 {
35  namespace Triangulation
36  {
37  template <int dim, int spacedim>
38  struct Iterators;
39 
73  template <int spacedim>
74  struct Iterators<1,spacedim>
75  {
79 
83 
87 
91 
92  typedef raw_line_iterator raw_cell_iterator;
93  };
94 
95 
96 
136  template <int spacedim>
137  struct Iterators<2,spacedim>
138  {
142 
146 
150 
154 
155  typedef raw_quad_iterator raw_cell_iterator;
156  };
157 
158 
180  template <int spacedim>
181  struct Iterators<3,spacedim>
182  {
186 
190 
194 
198 
199  typedef raw_hex_iterator raw_cell_iterator;
200  };
201 
202  }
203 
204 }
205 
206 DEAL_II_NAMESPACE_CLOSE
207 
208 #endif // dealii__tria_iterator_selector_h