]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Replace ITERATOR -> IteratorType. 16227/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 31 Oct 2023 21:17:32 +0000 (15:17 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 31 Oct 2023 21:17:32 +0000 (15:17 -0600)
include/deal.II/dofs/dof_renumbering.h
source/dofs/dof_renumbering.cc

index 6a88a13875cf05cdfbbd45cc216c0e509f62ba1a..60e36e04942e366737a8cf6e1fafcd68c467bd37 100644 (file)
@@ -749,12 +749,12 @@ namespace DoFRenumbering
    * Does not perform the renumbering on the DoFHandler dofs but returns the
    * renumbering vector.
    */
-  template <int dim, int spacedim, class ITERATOR, class ENDITERATOR>
+  template <int dim, int spacedim, class IteratorType, class EndIteratorType>
   types::global_dof_index
   compute_block_wise(std::vector<types::global_dof_index> &new_dof_indices,
-                     const ITERATOR                       &start,
-                     const ENDITERATOR                    &end,
-                     bool                                  is_level_operation);
+                     const IteratorType                   &start,
+                     const EndIteratorType                &end,
+                     const bool                            is_level_operation);
 
   /**
    * @}
index dd7cd9e8092a7b4218f9dffe32ba79c5c9e2fc5b..e1ecc4f570d12b5692fc555e70a56896e9f6d306 100644 (file)
@@ -1048,11 +1048,11 @@ namespace DoFRenumbering
 
 
 
-  template <int dim, int spacedim, class ITERATOR, class ENDITERATOR>
+  template <int dim, int spacedim, class IteratorType, class EndIteratorType>
   types::global_dof_index
   compute_block_wise(std::vector<types::global_dof_index> &new_indices,
-                     const ITERATOR                       &start,
-                     const ENDITERATOR                    &end,
+                     const IteratorType                   &start,
+                     const EndIteratorType                &end,
                      const bool                            is_level_operation)
   {
     const hp::FECollection<dim, spacedim> &fe_collection =
@@ -1104,7 +1104,7 @@ namespace DoFRenumbering
     // take care of that
     std::vector<std::vector<types::global_dof_index>> block_to_dof_map(
       fe_collection.n_blocks());
-    for (ITERATOR cell = start; cell != end; ++cell)
+    for (IteratorType cell = start; cell != end; ++cell)
       {
         if (is_level_operation)
           {

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.