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

#include <tria_iterator_selector.h>

Public Types

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

Detailed Description

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

This class implements some types which differ between the dimensions. These are the declararions for the 1D 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<1> object. An active_line_iterator only operates on the active lines. raw_line_iterator objects operate on all lines, used or not.

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

typedef raw_line_iterator raw_cell_iterator;
typedef line_iterator cell_iterator;
typedef active_line_iterator active_cell_iterator;

To enable the declaration of begin_quad and the like in Triangulation<1>, the quad_iterators are declared as iterators over InvalidAccessor. Thus these types exist, but are useless and will certainly make any involuntary use visible. The same holds for hexahedron iterators.

The same applies for the face_iterator types, since lines have no substructures apart from vertices, which are handled in a different way, however.

Author
Wolfgang Bangerth, 1998

Definition at line 71 of file tria_iterator_selector.h.


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