From: Wolfgang Bangerth Date: Wed, 22 Oct 2014 21:33:57 +0000 (-0500) Subject: Remove part of a test. X-Git-Tag: v8.2.0-rc1~99^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99d73b73693a2d010a5364b3fdbe5bd023b00ebe;p=dealii.git Remove part of a test. 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. --- diff --git a/tests/multigrid/dof_03.cc b/tests/multigrid/dof_03.cc index 2c3413cb0c..bb21bc007d 100644 --- a/tests/multigrid/dof_03.cc +++ b/tests/multigrid/dof_03.cc @@ -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 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() diff --git a/tests/multigrid/dof_03.output b/tests/multigrid/dof_03.output index 6485ddde22..54842d5ec7 100644 --- a/tests/multigrid/dof_03.output +++ b/tests/multigrid/dof_03.output @@ -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