typedef TriaIterator <TriaAccessor<dim-1, dim, spacedim> > face_iterator;
typedef TriaActiveIterator<TriaAccessor<dim-1, dim, spacedim> > active_face_iterator;
- typedef typename IteratorSelector::vertex_iterator vertex_iterator;
- typedef typename IteratorSelector::active_vertex_iterator active_vertex_iterator;
+ typedef TriaIterator <dealii::TriaAccessor<0, dim, spacedim> > vertex_iterator;
+ typedef TriaActiveIterator<dealii::TriaAccessor<0, dim, spacedim> > active_vertex_iterator;
typedef typename IteratorSelector::line_iterator line_iterator;
typedef typename IteratorSelector::active_line_iterator active_line_iterator;
* Since users should never have to access these internal properties of how
* we store data, these iterator types are made private.
*/
- typedef TriaRawIterator <CellAccessor<dim,spacedim> > raw_cell_iterator;
- typedef TriaRawIterator <TriaAccessor<dim-1, dim, spacedim> > raw_face_iterator;
- typedef typename IteratorSelector::raw_vertex_iterator raw_vertex_iterator;
- typedef typename IteratorSelector::raw_line_iterator raw_line_iterator;
- typedef typename IteratorSelector::raw_quad_iterator raw_quad_iterator;
- typedef typename IteratorSelector::raw_hex_iterator raw_hex_iterator;
+ typedef TriaRawIterator<CellAccessor<dim,spacedim> > raw_cell_iterator;
+ typedef TriaRawIterator<TriaAccessor<dim-1, dim, spacedim> > raw_face_iterator;
+ typedef TriaRawIterator<dealii::TriaAccessor<0, dim, spacedim> > raw_vertex_iterator;
+ typedef typename IteratorSelector::raw_line_iterator raw_line_iterator;
+ typedef typename IteratorSelector::raw_quad_iterator raw_quad_iterator;
+ typedef typename IteratorSelector::raw_hex_iterator raw_hex_iterator;
/**
* Iterator to the first cell, used or not, on level @p level. If a level
template <int structdim, int dim, int spacedim>
inline
-typename dealii::internal::Triangulation::Iterators<dim,spacedim>::vertex_iterator
+TriaIterator<TriaAccessor<0,dim,spacedim> >
TriaAccessor<structdim,dim,spacedim>::vertex_iterator (const unsigned int i) const
{
- return typename dealii::internal::Triangulation::Iterators<dim,spacedim>::vertex_iterator
- (this->tria, 0, vertex_index (i));
+ return TriaIterator<TriaAccessor<0,dim,spacedim> >(this->tria, 0, vertex_index (i));
}
* @ref Iterators
* module for more information.
*
- * A @p vertex_iterator is typedef'd to an iterator operating on the @p
- * vertices member variable of a <tt>Triangulation<1></tt> object.
- *
* A @p line_iterator is typedef'd to an iterator operating on the @p
* lines member variable of a <tt>Triangulation<1></tt> object. An @p
* active_line_iterator only operates on the active lines. @p
template <int spacedim>
struct Iterators<1,spacedim>
{
- typedef TriaRawIterator <dealii::TriaAccessor<0, 1, spacedim> > raw_vertex_iterator;
- typedef TriaIterator <dealii::TriaAccessor<0, 1, spacedim> > vertex_iterator;
- typedef TriaActiveIterator<dealii::TriaAccessor<0, 1, spacedim> > active_vertex_iterator;
-
typedef TriaRawIterator <dealii::CellAccessor<1,spacedim> > raw_line_iterator;
typedef TriaIterator <dealii::CellAccessor<1,spacedim> > line_iterator;
typedef TriaActiveIterator<dealii::CellAccessor<1,spacedim> > active_line_iterator;
* @ref Iterators
* module for more information.
*
- * A @p vertex_iterator is typedef'd to an iterator operating on the @p
- * vertices member variable of a <tt>Triangulation<2></tt> object.
- *
* A @p line_iterator is typedef'd to an iterator operating on the @p
* lines member variable of a <tt>Triangulation<2></tt> object. An @p
* active_line_iterator only operates on the active lines. @p
template <int spacedim>
struct Iterators<2,spacedim>
{
- typedef TriaRawIterator <dealii::TriaAccessor<0, 2, spacedim> > raw_vertex_iterator;
- typedef TriaIterator <dealii::TriaAccessor<0, 2, spacedim> > vertex_iterator;
- typedef TriaActiveIterator<dealii::TriaAccessor<0, 2, spacedim> > active_vertex_iterator;
-
typedef TriaRawIterator <dealii::TriaAccessor<1, 2, spacedim> > raw_line_iterator;
typedef TriaIterator <dealii::TriaAccessor<1, 2, spacedim> > line_iterator;
typedef TriaActiveIterator<dealii::TriaAccessor<1, 2, spacedim> > active_line_iterator;
template <int spacedim>
struct Iterators<3,spacedim>
{
- typedef TriaRawIterator <dealii::TriaAccessor<0, 3, spacedim> > raw_vertex_iterator;
- typedef TriaIterator <dealii::TriaAccessor<0, 3, spacedim> > vertex_iterator;
- typedef TriaActiveIterator<dealii::TriaAccessor<0, 3, spacedim> > active_vertex_iterator;
-
typedef TriaRawIterator <dealii::TriaAccessor<1, 3, spacedim> > raw_line_iterator;
typedef TriaIterator <dealii::TriaAccessor<1, 3, spacedim> > line_iterator;
typedef TriaActiveIterator<dealii::TriaAccessor<1, 3, spacedim> > active_line_iterator;