Reference documentation for deal.II version GIT c1ef6fab04 2022-12-05 23:05:01+00:00
\(\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\}}\)
Public Types | List of all members
internal::TriangulationImplementation::Iterators< 2, spacedim > Struct Template Reference

#include <deal.II/grid/tria_iterator_selector.h>

Public Types

using raw_line_iterator = TriaRawIterator<::TriaAccessor< 1, 2, spacedim > >
 
using line_iterator = TriaIterator<::TriaAccessor< 1, 2, spacedim > >
 
using active_line_iterator = TriaActiveIterator<::TriaAccessor< 1, 2, spacedim > >
 
using raw_quad_iterator = TriaRawIterator<::CellAccessor< 2, spacedim > >
 
using quad_iterator = TriaIterator<::CellAccessor< 2, spacedim > >
 
using active_quad_iterator = TriaActiveIterator<::CellAccessor< 2, spacedim > >
 
using raw_hex_iterator = TriaRawIterator<::InvalidAccessor< 3, 2, spacedim > >
 
using hex_iterator = TriaIterator<::InvalidAccessor< 3, 2, spacedim > >
 
using active_hex_iterator = TriaActiveIterator<::InvalidAccessor< 3, 2, spacedim > >
 

Detailed Description

template<int spacedim>
struct internal::TriangulationImplementation::Iterators< 2, spacedim >

This class implements some types which differ between the dimensions. These are the declarations for the 2D case only. See the Iterators on mesh-like containers module for more information.

A line_iterator is aliased to an iterator operating on the lines member variable of a Triangulation<2> object. An active_line_iterator only operates on the active lines. raw_line_iterator objects operate on all lines, used or not. Using active_line_iterators may not be particularly in 2D useful since it only operates on unrefined lines. However, also refined lines may bound unrefined cells if the neighboring cell is refined once more than the present one.

Similarly to line iterators, quad_iterator, raw_quad_iterator and active_quad_iterator are declared.

To enable the declaration of begin_hex and the like in Triangulation<[12]>, the hex_iterators are declared as iterators over InvalidAccessor. Thus these types exist, but are useless and will certainly make any involuntary use visible.

Since we are in two dimension, the following identities are declared:

using raw_cell_iterator = raw_quad_iterator;
using cell_iterator = quad_iterator;
using active_cell_iterator = active_quad_iterator;
using raw_face_iterator = raw_line_iterator;
using face_iterator = line_iterator;
using active_face_iterator = active_line_iterator;
TriaRawIterator<::CellAccessor< 2, spacedim > > raw_quad_iterator
TriaActiveIterator<::TriaAccessor< 1, 2, spacedim > > active_line_iterator
TriaActiveIterator<::CellAccessor< 2, spacedim > > active_quad_iterator
TriaRawIterator<::TriaAccessor< 1, 2, spacedim > > raw_line_iterator
TriaIterator<::TriaAccessor< 1, 2, spacedim > > line_iterator

Definition at line 138 of file tria_iterator_selector.h.

Member Typedef Documentation

◆ raw_line_iterator

template<int spacedim>
using internal::TriangulationImplementation::Iterators< 2, spacedim >::raw_line_iterator = TriaRawIterator<::TriaAccessor<1, 2, spacedim> >

Definition at line 140 of file tria_iterator_selector.h.

◆ line_iterator

template<int spacedim>
using internal::TriangulationImplementation::Iterators< 2, spacedim >::line_iterator = TriaIterator<::TriaAccessor<1, 2, spacedim> >

Definition at line 142 of file tria_iterator_selector.h.

◆ active_line_iterator

template<int spacedim>
using internal::TriangulationImplementation::Iterators< 2, spacedim >::active_line_iterator = TriaActiveIterator<::TriaAccessor<1, 2, spacedim> >

Definition at line 143 of file tria_iterator_selector.h.

◆ raw_quad_iterator

template<int spacedim>
using internal::TriangulationImplementation::Iterators< 2, spacedim >::raw_quad_iterator = TriaRawIterator<::CellAccessor<2, spacedim> >

Definition at line 146 of file tria_iterator_selector.h.

◆ quad_iterator

template<int spacedim>
using internal::TriangulationImplementation::Iterators< 2, spacedim >::quad_iterator = TriaIterator<::CellAccessor<2, spacedim> >

Definition at line 148 of file tria_iterator_selector.h.

◆ active_quad_iterator

template<int spacedim>
using internal::TriangulationImplementation::Iterators< 2, spacedim >::active_quad_iterator = TriaActiveIterator<::CellAccessor<2, spacedim> >

Definition at line 149 of file tria_iterator_selector.h.

◆ raw_hex_iterator

template<int spacedim>
using internal::TriangulationImplementation::Iterators< 2, spacedim >::raw_hex_iterator = TriaRawIterator<::InvalidAccessor<3, 2, spacedim> >

Definition at line 152 of file tria_iterator_selector.h.

◆ hex_iterator

template<int spacedim>
using internal::TriangulationImplementation::Iterators< 2, spacedim >::hex_iterator = TriaIterator<::InvalidAccessor<3, 2, spacedim> >

Definition at line 154 of file tria_iterator_selector.h.

◆ active_hex_iterator

template<int spacedim>
using internal::TriangulationImplementation::Iterators< 2, spacedim >::active_hex_iterator = TriaActiveIterator<::InvalidAccessor<3, 2, spacedim> >

Definition at line 156 of file tria_iterator_selector.h.


The documentation for this struct was generated from the following file: