Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | List of all members
internal::Triangulation::Iterators< 2, spacedim > Struct Template Reference

#include <tria_iterator_selector.h>

Public Types

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

Detailed Description

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

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

A line_iterator is typdef'd 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:

typedef raw_quad_iterator raw_cell_iterator;
typedef quad_iterator cell_iterator;
typedef active_quad_iterator active_cell_iterator;
typedef raw_line_iterator raw_face_iterator;
typedef line_iterator face_iterator;
typedef active_line_iterator active_face_iterator;
Author
Wolfgang Bangerth, 1998

Definition at line 126 of file tria_iterator_selector.h.


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