Reference documentation for deal.II version 8.1.0
tria_iterator_selector.h
1 // ---------------------------------------------------------------------
2 // @f$Id: tria_iterator_selector.h 30036 2013-07-18 16:55:32Z maier @f$
3 //
4 // Copyright (C) 2003 - 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_iterator_selector_h
18 #define __deal2__tria_iterator_selector_h
19 
20 
21 #include <deal.II/base/config.h>
22 
24 
25 template <int dim, int spacedim> class CellAccessor;
26 template <int, int, int> class TriaAccessorBase;
27 template <int, int, int> class InvalidAccessor;
28 template <int, int, int> class TriaAccessor;
29 template <int dim, int spacedim> class TriaAccessor<0, dim, spacedim>;
30 template <typename Accessor> class TriaRawIterator;
31 template <typename Accessor> class TriaIterator;
32 template <typename Accessor> class TriaActiveIterator;
33 
34 namespace internal
35 {
36  namespace Triangulation
37  {
38  template <int dim, int spacedim>
39  struct Iterators;
40 
70  template <int spacedim>
71  struct Iterators<1,spacedim>
72  {
76 
80 
84 
85  typedef raw_line_iterator raw_cell_iterator;
86  };
87 
88 
89 
125  template <int spacedim>
126  struct Iterators<2,spacedim>
127  {
131 
135 
139 
140  typedef raw_quad_iterator raw_cell_iterator;
141  };
142 
143 
164  template <int spacedim>
165  struct Iterators<3,spacedim>
166  {
170 
174 
178 
179  typedef raw_hex_iterator raw_cell_iterator;
180  };
181 
182  }
183 
184 }
185 
186 DEAL_II_NAMESPACE_CLOSE
187 
188 #endif // __deal2__tria_iterator_selector_h