]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Restore previous behavior.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 17 Dec 2005 22:49:29 +0000 (22:49 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 17 Dec 2005 22:49:29 +0000 (22:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@11872 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/dof_renumbering.cc

index 22616dba3a449b711eb52a8573d2c638411f99e7..c7799a797863a6b9da0e5417c97a37182437a0a6 100644 (file)
@@ -129,8 +129,16 @@ check_renumbering(MGDoFHandler<dim>& mgdof, bool discontinuous)
        {
          DoFRenumbering::downstream_dg(mgdof, level, direction);
        }
-  
-      DoFRenumbering::component_wise (mgdof, order);
+
+                                       // renumber the non-MG part of the
+                                       // DoFHandler again. this is probably
+                                       // not what was meant in the first
+                                       // place, but is compatible with the
+                                       // behavior of the
+                                       // DoFRenumbering::component_wise set
+                                       // of functions before December 2005
+      DoFRenumbering::component_wise (static_cast<DoFHandler<dim>&>(mgdof),
+                                      order);
       print_dofs (mgdof, level);
     }
 

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.