]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a largely unused iterator typedef. 4702/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 5 Aug 2017 19:05:00 +0000 (13:05 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 6 Aug 2017 22:48:52 +0000 (16:48 -0600)
Move further towards the goal of trying to dispatch as small a number
of iterators to make the life of IDEs easier.

include/deal.II/dofs/dof_accessor.templates.h
include/deal.II/grid/tria_iterator_selector.h

index 77de465c2b58fa5a917a4be4ca70c8d7145e4b70..e53f069236c24612d8c19e06f9e96dd69870cd18 100644 (file)
@@ -783,11 +783,9 @@ namespace internal
         // a problem
         Assert ((dim==structdim
                  ?
-                 typename
-                 internal::Triangulation::Iterators<dim,spacedim>::
-                 raw_cell_iterator (&dof_handler.get_triangulation(),
-                                    obj_level,
-                                    obj_index)->used()
+                 TriaRawIterator<dealii::CellAccessor<dim,spacedim> > (&dof_handler.get_triangulation(),
+                     obj_level,
+                     obj_index)->used()
                  :
                  (structdim==1
                   ?
@@ -835,11 +833,9 @@ namespace internal
         // a problem
         Assert ((dim==structdim
                  ?
-                 typename
-                 internal::Triangulation::Iterators<dim,spacedim>::
-                 raw_cell_iterator (&dof_handler.get_triangulation(),
-                                    obj_level,
-                                    obj_index)->used()
+                 TriaRawIterator<dealii::CellAccessor<dim,spacedim> > (&dof_handler.get_triangulation(),
+                     obj_level,
+                     obj_index)->used()
                  :
                  (structdim==1
                   ?
index 18c1a9342e2253d62c6acb151355ef470d62b909..307384123e8491181dc6aaca90eb764d799335e4 100644 (file)
@@ -80,8 +80,6 @@ namespace internal
       typedef TriaRawIterator   <dealii::InvalidAccessor<3,1,spacedim> > raw_hex_iterator;
       typedef TriaIterator      <dealii::InvalidAccessor<3,1,spacedim> > hex_iterator;
       typedef TriaActiveIterator<dealii::InvalidAccessor<3,1,spacedim> > active_hex_iterator;
-
-      typedef raw_line_iterator raw_cell_iterator;
     };
 
 
@@ -136,8 +134,6 @@ namespace internal
       typedef TriaRawIterator   <dealii::InvalidAccessor<3,2,spacedim> > raw_hex_iterator;
       typedef TriaIterator      <dealii::InvalidAccessor<3,2,spacedim> > hex_iterator;
       typedef TriaActiveIterator<dealii::InvalidAccessor<3,2,spacedim> > active_hex_iterator;
-
-      typedef raw_quad_iterator raw_cell_iterator;
     };
 
 
@@ -176,8 +172,6 @@ namespace internal
       typedef TriaRawIterator   <dealii::CellAccessor<3, spacedim> > raw_hex_iterator;
       typedef TriaIterator      <dealii::CellAccessor<3, spacedim> > hex_iterator;
       typedef TriaActiveIterator<dealii::CellAccessor<3, spacedim> > active_hex_iterator;
-
-      typedef raw_hex_iterator raw_cell_iterator;
     };
 
   }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.