]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix minor issues in PR2518 2518/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 19 Apr 2016 11:50:44 +0000 (13:50 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 19 Apr 2016 11:50:44 +0000 (13:50 +0200)
include/deal.II/dofs/dof_accessor.h
include/deal.II/meshworker/loop.h

index 8b257ed11e75dd22b644da5e2432d685207db05a..4e7600ecb14ed61168cd2c1f5874b3230856ccb3 100644 (file)
@@ -1262,7 +1262,7 @@ public:
    * accessor without access to the DoF data.
    */
   TriaIterator<DoFCellAccessor<DoFHandlerType, level_dof_access> >
-  neighbor (const unsigned int) const;
+  neighbor (const unsigned int i) const;
 
   /**
    * Return the @p ith periodic neighbor as a DoF cell iterator. This function
@@ -1270,7 +1270,7 @@ public:
    * accessor without access to the DoF data.
    */
   TriaIterator<DoFCellAccessor<DoFHandlerType, level_dof_access> >
-  periodic_neighbor (const unsigned int) const;
+  periodic_neighbor (const unsigned int i) const;
 
   /**
    * Return the @p ith neighbor or periodic neighbor as a DoF cell iterator.
@@ -1278,7 +1278,7 @@ public:
    * returns a cell accessor without access to the DoF data.
    */
   TriaIterator<DoFCellAccessor<DoFHandlerType, level_dof_access> >
-  neighbor_or_periodic_neighbor (const unsigned int) const;
+  neighbor_or_periodic_neighbor (const unsigned int i) const;
 
   /**
    * Return the @p ith child as a DoF cell iterator. This function is needed
@@ -1286,7 +1286,7 @@ public:
    * without access to the DoF data.
    */
   TriaIterator<DoFCellAccessor<DoFHandlerType, level_dof_access> >
-  child (const unsigned int) const;
+  child (const unsigned int i) const;
 
   /**
    * Return an iterator to the @p ith face of this cell.
index 002a8adfaf611271bed13b958de3d4e07566d16e..7f5a5df30fe09967f36488ef833af6723f23128f 100644 (file)
@@ -252,7 +252,7 @@ namespace MeshWorker
               const bool periodic_neighbor = cell->has_periodic_neighbor(face_no);
 
               if ((!periodic_neighbor && cell->neighbor_is_coarser(face_no))
-                  ||(periodic_neighbor && cell->periodic_neighbor_is_coarser(face_no)))
+                  || (periodic_neighbor && cell->periodic_neighbor_is_coarser(face_no)))
                 {
                   Assert(!cell->has_children(), ExcInternalError());
                   Assert(!neighbor->has_children(), ExcInternalError());

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.