Reference documentation for deal.II version 9.0.0
deal.II
grid
tria_iterator_selector.h
1
// ---------------------------------------------------------------------
2
//
3
// Copyright (C) 2003 - 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 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
InvalidAccessor
;
26
template
<
int
,
int
,
int
>
class
TriaAccessor
;
27
template
<
int
dim,
int
spacedim>
class
TriaAccessor
<0, dim, spacedim>;
28
template
<
typename
Accessor>
class
TriaRawIterator
;
29
template
<
typename
Accessor>
class
TriaIterator
;
30
template
<
typename
Accessor>
class
TriaActiveIterator
;
31
32
namespace
internal
33
{
34
namespace
TriangulationImplementation
35
{
36
template
<
int
dim,
int
spacedim>
37
struct
Iterators;
38
69
template
<
int
spacedim>
70
struct
Iterators<1,spacedim>
71
{
72
typedef
TriaRawIterator <::CellAccessor<1,spacedim>
>
raw_line_iterator
;
73
typedef
TriaIterator <::CellAccessor<1,spacedim>
>
line_iterator
;
74
typedef
TriaActiveIterator<::CellAccessor<1,spacedim>
>
active_line_iterator
;
75
76
typedef
TriaRawIterator <::InvalidAccessor<2,1,spacedim>
>
raw_quad_iterator
;
77
typedef
TriaIterator <::InvalidAccessor<2,1,spacedim>
>
quad_iterator
;
78
typedef
TriaActiveIterator<::InvalidAccessor<2,1,spacedim>
>
active_quad_iterator
;
79
80
typedef
TriaRawIterator <::InvalidAccessor<3,1,spacedim>
>
raw_hex_iterator
;
81
typedef
TriaIterator <::InvalidAccessor<3,1,spacedim>
>
hex_iterator
;
82
typedef
TriaActiveIterator<::InvalidAccessor<3,1,spacedim>
>
active_hex_iterator
;
83
};
84
85
86
123
template
<
int
spacedim>
124
struct
Iterators<2,spacedim>
125
{
126
typedef
TriaRawIterator <::TriaAccessor<1, 2, spacedim>
>
raw_line_iterator
;
127
typedef
TriaIterator <::TriaAccessor<1, 2, spacedim>
>
line_iterator
;
128
typedef
TriaActiveIterator<::TriaAccessor<1, 2, spacedim>
>
active_line_iterator
;
129
130
typedef
TriaRawIterator <::CellAccessor<2, spacedim>
>
raw_quad_iterator
;
131
typedef
TriaIterator <::CellAccessor<2, spacedim>
>
quad_iterator
;
132
typedef
TriaActiveIterator<::CellAccessor<2, spacedim>
>
active_quad_iterator
;
133
134
typedef
TriaRawIterator <::InvalidAccessor<3,2,spacedim>
>
raw_hex_iterator
;
135
typedef
TriaIterator <::InvalidAccessor<3,2,spacedim>
>
hex_iterator
;
136
typedef
TriaActiveIterator<::InvalidAccessor<3,2,spacedim>
>
active_hex_iterator
;
137
};
138
139
161
template
<
int
spacedim>
162
struct
Iterators<3,spacedim>
163
{
164
typedef
TriaRawIterator <::TriaAccessor<1, 3, spacedim>
>
raw_line_iterator
;
165
typedef
TriaIterator <::TriaAccessor<1, 3, spacedim>
>
line_iterator
;
166
typedef
TriaActiveIterator<::TriaAccessor<1, 3, spacedim>
>
active_line_iterator
;
167
168
typedef
TriaRawIterator <::TriaAccessor<2, 3, spacedim>
>
raw_quad_iterator
;
169
typedef
TriaIterator <::TriaAccessor<2, 3, spacedim>
>
quad_iterator
;
170
typedef
TriaActiveIterator<::TriaAccessor<2, 3, spacedim>
>
active_quad_iterator
;
171
172
typedef
TriaRawIterator <::CellAccessor<3, spacedim>
>
raw_hex_iterator
;
173
typedef
TriaIterator <::CellAccessor<3, spacedim>
>
hex_iterator
;
174
typedef
TriaActiveIterator<::CellAccessor<3, spacedim>
>
active_hex_iterator
;
175
};
176
177
}
178
179
}
180
181
DEAL_II_NAMESPACE_CLOSE
182
183
#endif // dealii_tria_iterator_selector_h
TriaActiveIterator
Definition:
dof_iterator_selector.h:31
InvalidAccessor
Definition:
tria_accessor.h:518
internal
Definition:
aligned_vector.h:327
TriaAccessor
Definition:
tria.h:54
TriaIterator
Definition:
dof_iterator_selector.h:30
TriaRawIterator
Definition:
dof_accessor.h:33
CellAccessor
Definition:
tria_accessor.h:2434
Generated by
1.8.14