From 99d73b73693a2d010a5364b3fdbe5bd023b00ebe Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 22 Oct 2014 16:33:57 -0500 Subject: [PATCH] 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. --- tests/multigrid/dof_03.cc | 29 +---------------------------- tests/multigrid/dof_03.output | 12 ------------ 2 files changed, 1 insertion(+), 40 deletions(-) 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 -- 2.39.5