Loading [MathJax]/extensions/TeX/newcommand.js
Reference documentation for deal.II version 9.6.0
\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\}}
Toggle main menu visibility
Main Page
Tutorial
Code gallery
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerations
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
v
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
b
c
d
e
f
g
i
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Related Symbols
:
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
u
v
Related Pages
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
v
Variables
a
c
d
e
f
g
h
i
k
l
m
n
o
p
s
t
u
v
Typedefs
Enumerations
Enumerator
m
u
Macros
a
b
d
e
f
h
i
m
p
s
t
dealii.org
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
include
deal.II
grid
tria_iterator_selector.h
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
// Copyright (C) 2004 - 2023 by the deal.II authors
5
//
6
// This file is part of the deal.II library.
7
//
8
// Part of the source code is dual licensed under Apache-2.0 WITH
9
// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10
// governing the source code and code contributions can be found in
11
// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12
//
13
// ------------------------------------------------------------------------
14
15
#ifndef dealii_tria_iterator_selector_h
16
#define dealii_tria_iterator_selector_h
17
18
19
#include <
deal.II/base/config.h
>
20
21
DEAL_II_NAMESPACE_OPEN
22
23
// Forward declarations
24
#ifndef DOXYGEN
25
template
<
int
dim,
int
spacedim>
26
class
CellAccessor
;
27
template
<
int
,
int
,
int
>
28
class
InvalidAccessor
;
29
template
<
int
,
int
,
int
>
30
class
TriaAccessor
;
31
template
<
int
dim,
int
spacedim>
32
class
TriaAccessor
<0, dim, spacedim>;
33
template
<
typename
Accessor>
34
class
TriaRawIterator
;
35
template
<
typename
Accessor>
36
class
TriaIterator
;
37
template
<
typename
Accessor>
38
class
TriaActiveIterator
;
39
#endif
40
41
namespace
internal
42
{
43
namespace
TriangulationImplementation
44
{
45
template
<
int
dim,
int
spacedim>
46
struct
Iterators
;
47
76
template
<
int
spacedim>
77
struct
Iterators
<1, spacedim>
78
{
79
using
raw_line_iterator
=
80
TriaRawIterator<::CellAccessor<1, spacedim>
>;
81
using
line_iterator
=
TriaIterator<::CellAccessor<1, spacedim>
>;
82
using
active_line_iterator
=
83
TriaActiveIterator<::CellAccessor<1, spacedim>
>;
84
85
using
raw_quad_iterator
=
86
TriaRawIterator<::InvalidAccessor<2, 1, spacedim>
>;
87
using
quad_iterator
=
88
TriaIterator<::InvalidAccessor<2, 1, spacedim>
>;
89
using
active_quad_iterator
=
90
TriaActiveIterator<::InvalidAccessor<2, 1, spacedim>
>;
91
92
using
raw_hex_iterator
=
93
TriaRawIterator<::InvalidAccessor<3, 1, spacedim>
>;
94
using
hex_iterator
=
95
TriaIterator<::InvalidAccessor<3, 1, spacedim>
>;
96
using
active_hex_iterator
=
97
TriaActiveIterator<::InvalidAccessor<3, 1, spacedim>
>;
98
};
77
struct
Iterators
<1, spacedim> {
…
};
99
100
101
136
template
<
int
spacedim>
137
struct
Iterators
<2, spacedim>
138
{
139
using
raw_line_iterator
=
140
TriaRawIterator<::TriaAccessor<1, 2, spacedim>
>;
141
using
line_iterator
=
TriaIterator<::TriaAccessor<1, 2, spacedim>
>;
142
using
active_line_iterator
=
143
TriaActiveIterator<::TriaAccessor<1, 2, spacedim>
>;
144
145
using
raw_quad_iterator
=
146
TriaRawIterator<::CellAccessor<2, spacedim>
>;
147
using
quad_iterator
=
TriaIterator<::CellAccessor<2, spacedim>
>;
148
using
active_quad_iterator
=
149
TriaActiveIterator<::CellAccessor<2, spacedim>
>;
150
151
using
raw_hex_iterator
=
152
TriaRawIterator<::InvalidAccessor<3, 2, spacedim>
>;
153
using
hex_iterator
=
154
TriaIterator<::InvalidAccessor<3, 2, spacedim>
>;
155
using
active_hex_iterator
=
156
TriaActiveIterator<::InvalidAccessor<3, 2, spacedim>
>;
157
};
137
struct
Iterators
<2, spacedim> {
…
};
158
159
179
template
<
int
spacedim>
180
struct
Iterators
<3, spacedim>
181
{
182
using
raw_line_iterator
=
183
TriaRawIterator<::TriaAccessor<1, 3, spacedim>
>;
184
using
line_iterator
=
TriaIterator<::TriaAccessor<1, 3, spacedim>
>;
185
using
active_line_iterator
=
186
TriaActiveIterator<::TriaAccessor<1, 3, spacedim>
>;
187
188
using
raw_quad_iterator
=
189
TriaRawIterator<::TriaAccessor<2, 3, spacedim>
>;
190
using
quad_iterator
=
TriaIterator<::TriaAccessor<2, 3, spacedim>
>;
191
using
active_quad_iterator
=
192
TriaActiveIterator<::TriaAccessor<2, 3, spacedim>
>;
193
194
using
raw_hex_iterator
=
195
TriaRawIterator<::CellAccessor<3, spacedim>
>;
196
using
hex_iterator
=
TriaIterator<::CellAccessor<3, spacedim>
>;
197
using
active_hex_iterator
=
198
TriaActiveIterator<::CellAccessor<3, spacedim>
>;
199
};
180
struct
Iterators
<3, spacedim> {
…
};
200
201
}
// namespace TriangulationImplementation
202
203
}
// namespace internal
204
205
DEAL_II_NAMESPACE_CLOSE
206
207
#endif
// dealii_tria_iterator_selector_h
CellAccessor
Definition
tria_accessor.h:3064
InvalidAccessor
Definition
tria_accessor.h:574
TriaAccessor
Definition
tria_accessor.h:757
TriaActiveIterator
Definition
tria_iterator.h:755
TriaIterator
Definition
tria_iterator.h:574
TriaRawIterator
Definition
tria_iterator.h:227
config.h
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition
config.h:503
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition
config.h:504
internal
Definition
aligned_vector.h:727
internal::TriangulationImplementation::Iterators
Definition
tria_iterator_selector.h:46
Generated by
1.11.0