]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove part of a test. 206/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 22 Oct 2014 21:33:57 +0000 (16:33 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 22 Oct 2014 21:33:57 +0000 (16:33 -0500)
The test verifies that it doesn't matter whether we first call
DoFHandler::distribute_dofs() and then DoFHandler::distribute_mg_dofs(),
or the other way around. But we have recently changed the behavior
to require exactly this order, so this part of the test is no longer of interest.

tests/multigrid/dof_03.cc
tests/multigrid/dof_03.output

index 2c3413cb0c08d26f657775df759242a777776c84..bb21bc007d43fcb9df54034ab85b0a57c043f3e8 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2006 - 2013 by the deal.II authors
+// Copyright (C) 2006 - 2014 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -69,33 +69,6 @@ void check()
             << dof.has_level_dofs()
             << std::endl;
   }
-
-  // now check them the other way around
-  {
-    DoFHandler<dim> dof(tr);
-    deallog << "check " << dim << " before distribute "
-            << dof.has_active_dofs() << ' '
-            << dof.has_level_dofs()
-            << std::endl;
-
-    dof.distribute_mg_dofs(fe);
-    deallog << "check " << dim << " level  distribute "
-            << dof.has_active_dofs() << ' '
-            << dof.has_level_dofs()
-            << std::endl;
-
-    dof.distribute_dofs(fe);
-    deallog << "check " << dim << " after  distribute "
-            << dof.has_active_dofs() << ' '
-            << dof.has_level_dofs()
-            << std::endl;
-
-    dof.clear();
-    deallog << "check " << dim << " after  clear      "
-            << dof.has_active_dofs() << ' '
-            << dof.has_level_dofs()
-            << std::endl;
-  }
 }
 
 int main()
index 6485ddde22b873098e8a4ac2f5129aa6eb3718c3..54842d5ec7682830161178bf7309d91ca53ef587 100644 (file)
@@ -3,23 +3,11 @@ DEAL::check 1 before distribute 0 0
 DEAL::check 1 after  distribute 1 0
 DEAL::check 1 level  distribute 1 1
 DEAL::check 1 after  clear      0 0
-DEAL::check 1 before distribute 0 0
-DEAL::check 1 level  distribute 0 1
-DEAL::check 1 after  distribute 1 1
-DEAL::check 1 after  clear      0 0
 DEAL::check 2 before distribute 0 0
 DEAL::check 2 after  distribute 1 0
 DEAL::check 2 level  distribute 1 1
 DEAL::check 2 after  clear      0 0
-DEAL::check 2 before distribute 0 0
-DEAL::check 2 level  distribute 0 1
-DEAL::check 2 after  distribute 1 1
-DEAL::check 2 after  clear      0 0
 DEAL::check 3 before distribute 0 0
 DEAL::check 3 after  distribute 1 0
 DEAL::check 3 level  distribute 1 1
 DEAL::check 3 after  clear      0 0
-DEAL::check 3 before distribute 0 0
-DEAL::check 3 level  distribute 0 1
-DEAL::check 3 after  distribute 1 1
-DEAL::check 3 after  clear      0 0

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.