From: Martin Kronbichler Date: Tue, 10 Sep 2019 08:05:38 +0000 (+0200) Subject: Avoid deprecated argument in distribute_mg_dofs X-Git-Tag: v9.2.0-rc1~1125^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a29c39b292b29b538aa3fc5d12795dcac80df071;p=dealii.git Avoid deprecated argument in distribute_mg_dofs --- diff --git a/tests/bits/step-16.cc b/tests/bits/step-16.cc index 1205ca68ed..be1e62be88 100644 --- a/tests/bits/step-16.cc +++ b/tests/bits/step-16.cc @@ -107,7 +107,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << " Number of degrees of freedom: " << mg_dof_handler.n_dofs() << std::endl; diff --git a/tests/dofs/block_info.cc b/tests/dofs/block_info.cc index b251b53854..3530a2b24c 100644 --- a/tests/dofs/block_info.cc +++ b/tests/dofs/block_info.cc @@ -32,7 +32,7 @@ test_grid(const Triangulation &tr, const FiniteElement &fe) { DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); BlockInfo bi; bi.initialize(mgdof); bi.initialize_local(mgdof); diff --git a/tests/dofs/block_info_02.cc b/tests/dofs/block_info_02.cc index d3d63ef105..13b0be4320 100644 --- a/tests/dofs/block_info_02.cc +++ b/tests/dofs/block_info_02.cc @@ -35,7 +35,7 @@ test_grid(const Triangulation &tr, const FiniteElement &fe) { DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); BlockInfo bi; bi.initialize(mgdof, false, false); bi.initialize_local(mgdof); diff --git a/tests/dofs/block_list_01.cc b/tests/dofs/block_list_01.cc index a30ae3a408..5e77c22918 100644 --- a/tests/dofs/block_list_01.cc +++ b/tests/dofs/block_list_01.cc @@ -24,7 +24,7 @@ test_block_list(const Triangulation &tr, const FiniteElement &fe) DoFHandler dof; dof.initialize(tr, fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); const unsigned int level = tr.n_levels() - 1; diff --git a/tests/dofs/block_list_02.cc b/tests/dofs/block_list_02.cc index 58020eaa17..62b6e483d2 100644 --- a/tests/dofs/block_list_02.cc +++ b/tests/dofs/block_list_02.cc @@ -24,7 +24,7 @@ test_block_list(const Triangulation &tr, const FiniteElement &fe) DoFHandler dof; dof.initialize(tr, fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); const unsigned int level = tr.n_levels() - 1; diff --git a/tests/dofs/block_list_03.cc b/tests/dofs/block_list_03.cc index ab6c2441a2..7e6d4c5007 100644 --- a/tests/dofs/block_list_03.cc +++ b/tests/dofs/block_list_03.cc @@ -24,7 +24,7 @@ test_block_list(const Triangulation &tr, const FiniteElement &fe) DoFHandler dof; dof.initialize(tr, fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); const unsigned int level = tr.n_levels() - 1; diff --git a/tests/dofs/block_list_04.cc b/tests/dofs/block_list_04.cc index 795c8baa3d..790f0c38d8 100644 --- a/tests/dofs/block_list_04.cc +++ b/tests/dofs/block_list_04.cc @@ -24,7 +24,7 @@ test_block_list(const Triangulation &tr, const FiniteElement &fe) DoFHandler dof; dof.initialize(tr, fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); const unsigned int level = tr.n_levels() - 1; diff --git a/tests/dofs/block_list_05.cc b/tests/dofs/block_list_05.cc index dd7b2a0f2c..9437e721fd 100644 --- a/tests/dofs/block_list_05.cc +++ b/tests/dofs/block_list_05.cc @@ -59,7 +59,7 @@ test_block_list(const Triangulation &tr, const FiniteElement &fe) DoFHandler dof; dof.initialize(tr, fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); const unsigned int level = tr.n_levels() - 1; diff --git a/tests/dofs/block_list_parallel_01.cc b/tests/dofs/block_list_parallel_01.cc index f4331c56f6..a68cb87c1d 100644 --- a/tests/dofs/block_list_parallel_01.cc +++ b/tests/dofs/block_list_parallel_01.cc @@ -27,7 +27,7 @@ test_block_list(const parallel::distributed::Triangulation &tr, DoFHandler dof; dof.initialize(tr, fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); for (unsigned int level = 0; level < tr.n_global_levels(); ++level) { diff --git a/tests/dofs/dof_renumbering.cc b/tests/dofs/dof_renumbering.cc index 62c44a8f19..8769316c97 100644 --- a/tests/dofs/dof_renumbering.cc +++ b/tests/dofs/dof_renumbering.cc @@ -172,13 +172,13 @@ check() FESystem e1(FE_Q(2), 2, FE_DGQ(1), 1); mgdof.distribute_dofs(e1); - mgdof.distribute_mg_dofs(e1); + mgdof.distribute_mg_dofs(); check_renumbering(mgdof, false); mgdof.clear(); FESystem e2(FE_DGP(2), 2, FE_DGQ(1), 1); mgdof.distribute_dofs(e2); - mgdof.distribute_mg_dofs(e2); + mgdof.distribute_mg_dofs(); check_renumbering(mgdof, true); mgdof.clear(); } diff --git a/tests/dofs/dof_renumbering_07.cc b/tests/dofs/dof_renumbering_07.cc index 8c1588af0c..51666d6f75 100644 --- a/tests/dofs/dof_renumbering_07.cc +++ b/tests/dofs/dof_renumbering_07.cc @@ -105,7 +105,7 @@ check() DoFHandler dof(tr); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); check_renumbering(dof); } @@ -114,7 +114,7 @@ check() DoFHandler dof(tr); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); check_renumbering(dof); } } diff --git a/tests/dofs/dof_renumbering_08.cc b/tests/dofs/dof_renumbering_08.cc index 871e1a5849..85e3b7531f 100644 --- a/tests/dofs/dof_renumbering_08.cc +++ b/tests/dofs/dof_renumbering_08.cc @@ -102,7 +102,7 @@ check() DoFHandler dof(tr); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); check_renumbering(dof); } @@ -111,7 +111,7 @@ check() DoFHandler dof(tr); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); check_renumbering(dof); } } diff --git a/tests/dofs/dof_renumbering_09.cc b/tests/dofs/dof_renumbering_09.cc index 5c2f1d667e..accf970953 100644 --- a/tests/dofs/dof_renumbering_09.cc +++ b/tests/dofs/dof_renumbering_09.cc @@ -70,7 +70,7 @@ test() FE_Q fe(1); dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); // Print dofs before reordering diff --git a/tests/dofs/extract_dofs_by_component_01_mg.cc b/tests/dofs/extract_dofs_by_component_01_mg.cc index a0bd320e63..577a5e85e0 100644 --- a/tests/dofs/extract_dofs_by_component_01_mg.cc +++ b/tests/dofs/extract_dofs_by_component_01_mg.cc @@ -53,7 +53,7 @@ check() FESystem element(FE_Q(2), 1, FE_Nedelec(0), 1); DoFHandler dof(tr); dof.distribute_dofs(element); - dof.distribute_mg_dofs(element); + dof.distribute_mg_dofs(); // try all possible component // masks, which we encode as bit diff --git a/tests/dofs/extract_dofs_by_component_02_mg.cc b/tests/dofs/extract_dofs_by_component_02_mg.cc index 4e4f6318dc..226c75cf67 100644 --- a/tests/dofs/extract_dofs_by_component_02_mg.cc +++ b/tests/dofs/extract_dofs_by_component_02_mg.cc @@ -54,7 +54,7 @@ check() FESystem element(FE_Q(2), 1, FE_Nedelec(0), 1); DoFHandler dof(tr); dof.distribute_dofs(element); - dof.distribute_mg_dofs(element); + dof.distribute_mg_dofs(); // try all possible block // masks, which we encode as bit diff --git a/tests/examples/step-56.cc b/tests/examples/step-56.cc index 959bbc2f30..a5eee5fc99 100644 --- a/tests/examples/step-56.cc +++ b/tests/examples/step-56.cc @@ -493,7 +493,7 @@ namespace Step56 pressure_mass_matrix.clear(); // The main DoFHandler only needs active DoFs, so we are not calling - // distribute_mg_dofs() here + // distribute_mg_dofs(); dof_handler.distribute_dofs(fe); // This block structure separates the dim velocity components from diff --git a/tests/fe/transfer.cc b/tests/fe/transfer.cc index b34fff0a5a..71f77eb5c6 100644 --- a/tests/fe/transfer.cc +++ b/tests/fe/transfer.cc @@ -54,7 +54,7 @@ print_matrix(Triangulation & tr, { DoFHandler dof(tr); dof.distribute_dofs(finel); - dof.distribute_mg_dofs(finel); + dof.distribute_mg_dofs(); MGTransferPrebuilt> transfer; transfer.build_matrices(dof); diff --git a/tests/integrators/assembler_simple_mgmatrix_03.cc b/tests/integrators/assembler_simple_mgmatrix_03.cc index 97635c01f6..e4916baeaa 100644 --- a/tests/integrators/assembler_simple_mgmatrix_03.cc +++ b/tests/integrators/assembler_simple_mgmatrix_03.cc @@ -75,7 +75,7 @@ test(FiniteElement &fe) DoFHandler dof(tr); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); dof.initialize_local_block_info(); for (unsigned int level = 0; level < tr.n_levels(); ++level) DoFRenumbering::component_wise(dof, level); diff --git a/tests/integrators/assembler_simple_mgmatrix_04.cc b/tests/integrators/assembler_simple_mgmatrix_04.cc index d0b6cf3540..2d7124af2f 100644 --- a/tests/integrators/assembler_simple_mgmatrix_04.cc +++ b/tests/integrators/assembler_simple_mgmatrix_04.cc @@ -194,7 +194,7 @@ test(FiniteElement &fe) DoFHandler dof(tr); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); dof.initialize_local_block_info(); mg::SparseMatrixCollection mg; mg.resize(0, tr.n_levels() - 1); diff --git a/tests/integrators/cells_and_faces_01.cc b/tests/integrators/cells_and_faces_01.cc index 002d2eeb41..fc0693154c 100644 --- a/tests/integrators/cells_and_faces_01.cc +++ b/tests/integrators/cells_and_faces_01.cc @@ -194,21 +194,21 @@ test(const FiniteElement &fe) tr.refine_global(1); deallog.push("1"); dofs.distribute_dofs(fe); - dofs.distribute_mg_dofs(fe); + dofs.distribute_mg_dofs(); test_mesh(dofs); deallog.pop(); tr.begin(1)->set_refine_flag(); tr.execute_coarsening_and_refinement(); deallog.push("2"); dofs.distribute_dofs(fe); - dofs.distribute_mg_dofs(fe); + dofs.distribute_mg_dofs(); test_mesh(dofs); deallog.pop(); tr.begin(2)->set_refine_flag(); tr.execute_coarsening_and_refinement(); deallog.push("3"); dofs.distribute_dofs(fe); - dofs.distribute_mg_dofs(fe); + dofs.distribute_mg_dofs(); test_mesh(dofs); deallog.pop(); } diff --git a/tests/integrators/functional_01.cc b/tests/integrators/functional_01.cc index 3b8cdb3047..8773647b43 100644 --- a/tests/integrators/functional_01.cc +++ b/tests/integrators/functional_01.cc @@ -166,21 +166,21 @@ test(const FiniteElement &fe) tr.refine_global(1); deallog.push("1"); dofs.distribute_dofs(fe); - dofs.distribute_mg_dofs(fe); + dofs.distribute_mg_dofs(); test_mesh(dofs); deallog.pop(); tr.begin(1)->set_refine_flag(); tr.execute_coarsening_and_refinement(); deallog.push("2"); dofs.distribute_dofs(fe); - dofs.distribute_mg_dofs(fe); + dofs.distribute_mg_dofs(); test_mesh(dofs); deallog.pop(); tr.begin(2)->set_refine_flag(); tr.execute_coarsening_and_refinement(); deallog.push("3"); dofs.distribute_dofs(fe); - dofs.distribute_mg_dofs(fe); + dofs.distribute_mg_dofs(); test_mesh(dofs); deallog.pop(); } diff --git a/tests/integrators/mesh_worker_01.cc b/tests/integrators/mesh_worker_01.cc index 219db3742a..969552e71a 100644 --- a/tests/integrators/mesh_worker_01.cc +++ b/tests/integrators/mesh_worker_01.cc @@ -215,7 +215,7 @@ test(const FiniteElement &fe) DoFHandler dofs(tr); dofs.distribute_dofs(fe); - dofs.distribute_mg_dofs(fe); + dofs.distribute_mg_dofs(); deallog << "DoFHandler " << dofs.n_dofs() << " levels"; for (unsigned int l = 0; l < tr.n_levels(); ++l) deallog << ' ' << l << ':' << dofs.n_dofs(l); diff --git a/tests/integrators/mesh_worker_02.cc b/tests/integrators/mesh_worker_02.cc index cf8cc744cd..1c5a7b8f36 100644 --- a/tests/integrators/mesh_worker_02.cc +++ b/tests/integrators/mesh_worker_02.cc @@ -314,7 +314,7 @@ test(const FiniteElement &fe) DoFHandler dofs(tr); dofs.distribute_dofs(fe); - dofs.distribute_mg_dofs(fe); + dofs.distribute_mg_dofs(); deallog << "DoFHandler " << dofs.n_dofs() << " levels"; for (unsigned int l = 0; l < tr.n_levels(); ++l) deallog << ' ' << l << ':' << dofs.n_dofs(l); diff --git a/tests/integrators/mesh_worker_03.cc b/tests/integrators/mesh_worker_03.cc index d8abc2940f..f3050cf732 100644 --- a/tests/integrators/mesh_worker_03.cc +++ b/tests/integrators/mesh_worker_03.cc @@ -313,7 +313,7 @@ test(const FiniteElement &fe) DoFHandler dofs(tr); dofs.distribute_dofs(fe); - dofs.distribute_mg_dofs(fe); + dofs.distribute_mg_dofs(); deallog << "DoFHandler " << dofs.n_dofs() << " levels"; for (unsigned int l = 0; l < tr.n_levels(); ++l) deallog << ' ' << l << ':' << dofs.n_dofs(l); diff --git a/tests/matrix_free/compare_faces_by_cells.cc b/tests/matrix_free/compare_faces_by_cells.cc index a24cf3dc94..e8626fdcae 100644 --- a/tests/matrix_free/compare_faces_by_cells.cc +++ b/tests/matrix_free/compare_faces_by_cells.cc @@ -337,7 +337,7 @@ test() FE_DGQ fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); deallog << "Number of DoFs: " << dof.n_dofs() << std::endl; MappingQGeneric mapping(fe_degree + 1); diff --git a/tests/matrix_free/dg_pbc_02.cc b/tests/matrix_free/dg_pbc_02.cc index d95b361a43..2a67eae8cd 100644 --- a/tests/matrix_free/dg_pbc_02.cc +++ b/tests/matrix_free/dg_pbc_02.cc @@ -82,7 +82,7 @@ test() FE_DGQ fe(1); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); AffineConstraints constraints; constraints.close(); diff --git a/tests/matrix_free/matrix_vector_mg.cc b/tests/matrix_free/matrix_vector_mg.cc index 596e8cdd70..ed1a74a51b 100644 --- a/tests/matrix_free/matrix_vector_mg.cc +++ b/tests/matrix_free/matrix_vector_mg.cc @@ -55,7 +55,7 @@ test() // setup DoFs DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); AffineConstraints constraints; VectorTools::interpolate_boundary_values(dof, 0, diff --git a/tests/matrix_free/multigrid_dg_periodic.cc b/tests/matrix_free/multigrid_dg_periodic.cc index 853d5e0fe4..a9a6550e9b 100644 --- a/tests/matrix_free/multigrid_dg_periodic.cc +++ b/tests/matrix_free/multigrid_dg_periodic.cc @@ -630,7 +630,7 @@ test() FE_DGQ fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof); } diff --git a/tests/matrix_free/multigrid_dg_sip_01.cc b/tests/matrix_free/multigrid_dg_sip_01.cc index 23096ad0bf..7dd71a2fca 100644 --- a/tests/matrix_free/multigrid_dg_sip_01.cc +++ b/tests/matrix_free/multigrid_dg_sip_01.cc @@ -634,7 +634,7 @@ test() FE_DGQ fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof, true); } diff --git a/tests/matrix_free/multigrid_dg_sip_02.cc b/tests/matrix_free/multigrid_dg_sip_02.cc index 52181a9334..980bc41925 100644 --- a/tests/matrix_free/multigrid_dg_sip_02.cc +++ b/tests/matrix_free/multigrid_dg_sip_02.cc @@ -546,7 +546,7 @@ test() FE_DGQ fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof, true); } diff --git a/tests/matrix_free/parallel_multigrid.cc b/tests/matrix_free/parallel_multigrid.cc index cba8b73b6e..9267b213f0 100644 --- a/tests/matrix_free/parallel_multigrid.cc +++ b/tests/matrix_free/parallel_multigrid.cc @@ -446,7 +446,7 @@ test() FE_Q fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof); } diff --git a/tests/matrix_free/parallel_multigrid_02.cc b/tests/matrix_free/parallel_multigrid_02.cc index 66b6ed925b..9185a4448d 100644 --- a/tests/matrix_free/parallel_multigrid_02.cc +++ b/tests/matrix_free/parallel_multigrid_02.cc @@ -264,7 +264,7 @@ test() FE_Q fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof); } diff --git a/tests/matrix_free/parallel_multigrid_adaptive_01.cc b/tests/matrix_free/parallel_multigrid_adaptive_01.cc index f22561aeb9..388fc77ef5 100644 --- a/tests/matrix_free/parallel_multigrid_adaptive_01.cc +++ b/tests/matrix_free/parallel_multigrid_adaptive_01.cc @@ -642,7 +642,7 @@ test() FE_Q fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof); } diff --git a/tests/matrix_free/parallel_multigrid_adaptive_02.cc b/tests/matrix_free/parallel_multigrid_adaptive_02.cc index 4331103dd9..2f2abb724e 100644 --- a/tests/matrix_free/parallel_multigrid_adaptive_02.cc +++ b/tests/matrix_free/parallel_multigrid_adaptive_02.cc @@ -337,7 +337,7 @@ test() FE_Q fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof); } diff --git a/tests/matrix_free/parallel_multigrid_adaptive_04.cc b/tests/matrix_free/parallel_multigrid_adaptive_04.cc index ee68fbb7a0..c30c263def 100644 --- a/tests/matrix_free/parallel_multigrid_adaptive_04.cc +++ b/tests/matrix_free/parallel_multigrid_adaptive_04.cc @@ -335,7 +335,7 @@ test() FE_Q fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof); } diff --git a/tests/matrix_free/parallel_multigrid_adaptive_05.cc b/tests/matrix_free/parallel_multigrid_adaptive_05.cc index c380b50b29..3d2b4aee9a 100644 --- a/tests/matrix_free/parallel_multigrid_adaptive_05.cc +++ b/tests/matrix_free/parallel_multigrid_adaptive_05.cc @@ -646,7 +646,7 @@ test() FE_Q fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); deallog.push("threaded"); do_test(dof, true); diff --git a/tests/matrix_free/parallel_multigrid_adaptive_06.cc b/tests/matrix_free/parallel_multigrid_adaptive_06.cc index 47ba3889e8..3febd20874 100644 --- a/tests/matrix_free/parallel_multigrid_adaptive_06.cc +++ b/tests/matrix_free/parallel_multigrid_adaptive_06.cc @@ -415,7 +415,7 @@ test(const unsigned int nbands = 1) FE_Q fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof, nbands); } diff --git a/tests/matrix_free/parallel_multigrid_adaptive_06ref.cc b/tests/matrix_free/parallel_multigrid_adaptive_06ref.cc index ec5293a713..4333ee9746 100644 --- a/tests/matrix_free/parallel_multigrid_adaptive_06ref.cc +++ b/tests/matrix_free/parallel_multigrid_adaptive_06ref.cc @@ -324,7 +324,7 @@ test() FE_Q fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof); } diff --git a/tests/matrix_free/parallel_multigrid_adaptive_08.cc b/tests/matrix_free/parallel_multigrid_adaptive_08.cc index 8c6b201129..080c1facd2 100644 --- a/tests/matrix_free/parallel_multigrid_adaptive_08.cc +++ b/tests/matrix_free/parallel_multigrid_adaptive_08.cc @@ -405,7 +405,7 @@ test() FE_Q fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof); } diff --git a/tests/matrix_free/parallel_multigrid_mf.cc b/tests/matrix_free/parallel_multigrid_mf.cc index 5d4dc67743..2ce591eb19 100644 --- a/tests/matrix_free/parallel_multigrid_mf.cc +++ b/tests/matrix_free/parallel_multigrid_mf.cc @@ -452,7 +452,7 @@ test() FE_Q fe(fe_degree); DoFHandler dof(tria); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); do_test(dof); } diff --git a/tests/matrix_free/step-37.cc b/tests/matrix_free/step-37.cc index 932c1a89b5..a63271f3c1 100644 --- a/tests/matrix_free/step-37.cc +++ b/tests/matrix_free/step-37.cc @@ -416,7 +416,7 @@ namespace Step37 mg_constraints.clear_elements(); dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); deallog << "Number of degrees of freedom: " << dof_handler.n_dofs() << std::endl; diff --git a/tests/meshworker/mesh_loop_gmg_01.cc b/tests/meshworker/mesh_loop_gmg_01.cc index e44df1f303..121af10ece 100644 --- a/tests/meshworker/mesh_loop_gmg_01.cc +++ b/tests/meshworker/mesh_loop_gmg_01.cc @@ -68,7 +68,7 @@ test() FE_Q fe(1); DoFHandler dofh(tria); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); ScratchData scratch; diff --git a/tests/mpi/flux_edge_01.cc b/tests/mpi/flux_edge_01.cc index e30b0f8ab9..d174279c77 100644 --- a/tests/mpi/flux_edge_01.cc +++ b/tests/mpi/flux_edge_01.cc @@ -115,7 +115,7 @@ namespace Step39 InteriorPenaltyProblem::setup_system() { dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); DoFTools::extract_locally_relevant_dofs(dof_handler, locally_relevant_set); diff --git a/tests/mpi/mg_02.cc b/tests/mpi/mg_02.cc index 50f6ff0ab2..5b11bb691e 100644 --- a/tests/mpi/mg_02.cc +++ b/tests/mpi/mg_02.cc @@ -86,7 +86,7 @@ test() Assert(dofh.has_active_dofs() == true, ExcInternalError()); Assert(dofh.has_level_dofs() == false, ExcInternalError()); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); Assert(dofh.has_active_dofs() == true, ExcInternalError()); Assert(dofh.has_level_dofs() == true, ExcInternalError()); diff --git a/tests/mpi/mg_03.cc b/tests/mpi/mg_03.cc index d0e9a1613c..270ec06070 100644 --- a/tests/mpi/mg_03.cc +++ b/tests/mpi/mg_03.cc @@ -99,7 +99,7 @@ test() static const FE_DGP fe(0); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); { for (unsigned int lvl = 0; lvl < tr.n_levels(); ++lvl) diff --git a/tests/mpi/mg_04.cc b/tests/mpi/mg_04.cc index 5f2f199fa6..0ae59a75e4 100644 --- a/tests/mpi/mg_04.cc +++ b/tests/mpi/mg_04.cc @@ -89,7 +89,7 @@ test() static const FE_Q fe(1); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); { for (unsigned int lvl = 0; lvl < tr.n_levels(); ++lvl) diff --git a/tests/mpi/mg_05.cc b/tests/mpi/mg_05.cc index fc5ca6d418..f9d7dffb11 100644 --- a/tests/mpi/mg_05.cc +++ b/tests/mpi/mg_05.cc @@ -113,7 +113,7 @@ test() static const FE_Q fe(1); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); { for (unsigned int lvl = 0; lvl < tr.n_levels(); ++lvl) diff --git a/tests/mpi/mg_06.cc b/tests/mpi/mg_06.cc index 739572ec81..4ba4cd4f23 100644 --- a/tests/mpi/mg_06.cc +++ b/tests/mpi/mg_06.cc @@ -119,7 +119,7 @@ test() static const FE_Q fe(1); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); { for (unsigned int lvl = 0; lvl < tr.n_levels(); ++lvl) diff --git a/tests/mpi/mg_ghost_dofs_periodic_01.cc b/tests/mpi/mg_ghost_dofs_periodic_01.cc index 9c75d1a409..9150815fa2 100644 --- a/tests/mpi/mg_ghost_dofs_periodic_01.cc +++ b/tests/mpi/mg_ghost_dofs_periodic_01.cc @@ -78,7 +78,7 @@ test() FE_Q fe(1); DoFHandler dof_handler(tria); dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); std::vector dof_indices(fe.dofs_per_cell); for (unsigned int level = 0; level < tria.n_global_levels(); ++level) diff --git a/tests/mpi/mg_ghost_dofs_periodic_02.cc b/tests/mpi/mg_ghost_dofs_periodic_02.cc index c11811fa77..afe97bf12a 100644 --- a/tests/mpi/mg_ghost_dofs_periodic_02.cc +++ b/tests/mpi/mg_ghost_dofs_periodic_02.cc @@ -58,7 +58,7 @@ test() FE_Q fe(1); DoFHandler dof_handler(tria); dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); std::vector dof_indices(fe.dofs_per_cell); for (unsigned int level = 0; level < tria.n_global_levels(); ++level) diff --git a/tests/mpi/mg_ghost_dofs_periodic_03.cc b/tests/mpi/mg_ghost_dofs_periodic_03.cc index 916f328748..15673c807a 100644 --- a/tests/mpi/mg_ghost_dofs_periodic_03.cc +++ b/tests/mpi/mg_ghost_dofs_periodic_03.cc @@ -71,7 +71,7 @@ test() FE_Q fe(1); DoFHandler dof_handler(tria); dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); std::vector dof_indices(fe.dofs_per_cell); for (unsigned int level = 0; level < tria.n_global_levels(); ++level) diff --git a/tests/mpi/mg_ghost_dofs_periodic_04.cc b/tests/mpi/mg_ghost_dofs_periodic_04.cc index f77aa85042..c68f8c1975 100644 --- a/tests/mpi/mg_ghost_dofs_periodic_04.cc +++ b/tests/mpi/mg_ghost_dofs_periodic_04.cc @@ -86,7 +86,7 @@ test() FE_Q fe(1); DoFHandler dof_handler(tria); dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); std::vector dof_indices(fe.dofs_per_cell); for (unsigned int level = 0; level < tria.n_global_levels(); ++level) diff --git a/tests/mpi/mg_ghost_dofs_periodic_05.cc b/tests/mpi/mg_ghost_dofs_periodic_05.cc index 8132a8f3c3..61e8654435 100644 --- a/tests/mpi/mg_ghost_dofs_periodic_05.cc +++ b/tests/mpi/mg_ghost_dofs_periodic_05.cc @@ -72,7 +72,7 @@ test() deallog << "Number of cells: " << tria.n_global_active_cells() << std::endl << "Number of DoFs: " << dof_handler.n_dofs() << std::endl; - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); deallog << "Number of DoFs per level: "; for (unsigned int level = 0; level < tria.n_global_levels(); ++level) deallog << dof_handler.n_dofs(level) << " "; diff --git a/tests/mpi/mg_ghost_dofs_periodic_07.cc b/tests/mpi/mg_ghost_dofs_periodic_07.cc index d0dabdf3ff..dd5f7afe6b 100644 --- a/tests/mpi/mg_ghost_dofs_periodic_07.cc +++ b/tests/mpi/mg_ghost_dofs_periodic_07.cc @@ -77,9 +77,9 @@ test() FE_Q fe2(1); DoFHandler dof_handler(tria); dof_handler.distribute_dofs(fe1); - dof_handler.distribute_mg_dofs(fe1); + dof_handler.distribute_mg_dofs(); dof_handler.distribute_dofs(fe2); - dof_handler.distribute_mg_dofs(fe2); + dof_handler.distribute_mg_dofs(); deallog << "OK" << std::endl; } diff --git a/tests/mpi/multigrid_adaptive.cc b/tests/mpi/multigrid_adaptive.cc index 9ce3bc7b66..f3b4765260 100644 --- a/tests/mpi/multigrid_adaptive.cc +++ b/tests/mpi/multigrid_adaptive.cc @@ -176,7 +176,7 @@ namespace Step50 LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Number of degrees of freedom: " << mg_dof_handler.n_dofs(); diff --git a/tests/mpi/multigrid_uniform.cc b/tests/mpi/multigrid_uniform.cc index 32925e848f..c59f656bd8 100644 --- a/tests/mpi/multigrid_uniform.cc +++ b/tests/mpi/multigrid_uniform.cc @@ -176,7 +176,7 @@ namespace Step50 LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Number of degrees of freedom: " << mg_dof_handler.n_dofs(); diff --git a/tests/mpi/step-39-block.cc b/tests/mpi/step-39-block.cc index 2b211eafdc..fdd195ceed 100644 --- a/tests/mpi/step-39-block.cc +++ b/tests/mpi/step-39-block.cc @@ -462,7 +462,7 @@ namespace Step39 InteriorPenaltyProblem::setup_system() { dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); DoFTools::extract_locally_relevant_dofs(dof_handler, locally_relevant_set); solution.reinit(dof_handler.locally_owned_dofs(), MPI_COMM_WORLD); diff --git a/tests/mpi/step-39.cc b/tests/mpi/step-39.cc index c75ff46ef4..cb94a8471e 100644 --- a/tests/mpi/step-39.cc +++ b/tests/mpi/step-39.cc @@ -463,7 +463,7 @@ namespace Step39 InteriorPenaltyProblem::setup_system() { dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); DoFTools::extract_locally_relevant_dofs(dof_handler, locally_relevant_set); solution.reinit(dof_handler.locally_owned_dofs(), MPI_COMM_WORLD); diff --git a/tests/multigrid/boundary_01.cc b/tests/multigrid/boundary_01.cc index 179e325097..b59735df92 100644 --- a/tests/multigrid/boundary_01.cc +++ b/tests/multigrid/boundary_01.cc @@ -72,7 +72,7 @@ check_fe(FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); std::vector> boundary_indices( tr.n_levels()); diff --git a/tests/multigrid/constrained_dofs_01.cc b/tests/multigrid/constrained_dofs_01.cc index 02b9dbb306..c804c8b815 100644 --- a/tests/multigrid/constrained_dofs_01.cc +++ b/tests/multigrid/constrained_dofs_01.cc @@ -80,7 +80,7 @@ check_fe(FiniteElement &fe) DoFHandler dofh(tr); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs_ref; { @@ -93,7 +93,7 @@ check_fe(FiniteElement &fe) DoFHandler dofhref(tr); dofhref.distribute_dofs(fe); - dofhref.distribute_mg_dofs(fe); + dofhref.distribute_mg_dofs(); // std::map > dofmap; std::map> mgdofmap; diff --git a/tests/multigrid/constrained_dofs_02.cc b/tests/multigrid/constrained_dofs_02.cc index 0e58d638cc..1a79583351 100644 --- a/tests/multigrid/constrained_dofs_02.cc +++ b/tests/multigrid/constrained_dofs_02.cc @@ -141,7 +141,7 @@ check_fe(FiniteElement &fe) DoFHandler dofh(tr); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs_ref; { @@ -154,7 +154,7 @@ check_fe(FiniteElement &fe) DoFHandler dofhref(tr); dofhref.distribute_dofs(fe); - dofhref.distribute_mg_dofs(fe); + dofhref.distribute_mg_dofs(); // std::map > dofmap; std::map> mgdofmap; diff --git a/tests/multigrid/constrained_dofs_03.cc b/tests/multigrid/constrained_dofs_03.cc index 1779952199..03b09adb04 100644 --- a/tests/multigrid/constrained_dofs_03.cc +++ b/tests/multigrid/constrained_dofs_03.cc @@ -56,7 +56,7 @@ check_fe(FiniteElement &fe, ComponentMask &component_mask) DoFHandler dofh(tr); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs; std::set boundary_indicators; diff --git a/tests/multigrid/count_01.cc b/tests/multigrid/count_01.cc index cdc7a6e915..936faff7a6 100644 --- a/tests/multigrid/count_01.cc +++ b/tests/multigrid/count_01.cc @@ -64,7 +64,7 @@ check_fe(FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); std::vector> count(tr.n_levels()); MGTools::count_dofs_per_component(mgdof, count, false); diff --git a/tests/multigrid/distribute_bug_01.cc b/tests/multigrid/distribute_bug_01.cc index 7261ece8e3..fdfb742593 100644 --- a/tests/multigrid/distribute_bug_01.cc +++ b/tests/multigrid/distribute_bug_01.cc @@ -98,7 +98,7 @@ do_test() DoFHandler dof_handler(triangulation); dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); } diff --git a/tests/multigrid/dof_01.cc b/tests/multigrid/dof_01.cc index e6dd14f586..c2d9393fe0 100644 --- a/tests/multigrid/dof_01.cc +++ b/tests/multigrid/dof_01.cc @@ -82,7 +82,7 @@ check_fe(FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); dofs(mgdof); } diff --git a/tests/multigrid/dof_02.cc b/tests/multigrid/dof_02.cc index f9f75119d6..94e0d06a81 100644 --- a/tests/multigrid/dof_02.cc +++ b/tests/multigrid/dof_02.cc @@ -88,7 +88,7 @@ check_fe(FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); dofs(mgdof); } diff --git a/tests/multigrid/dof_03.cc b/tests/multigrid/dof_03.cc index db553eaebe..4b2c690bc2 100644 --- a/tests/multigrid/dof_03.cc +++ b/tests/multigrid/dof_03.cc @@ -54,7 +54,7 @@ check() dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); deallog << "check " << dim << " level distribute " << dof.has_active_dofs() << ' ' << dof.has_level_dofs() << std::endl; diff --git a/tests/multigrid/dof_04.cc b/tests/multigrid/dof_04.cc index 9edb006147..a8b1fde1b4 100644 --- a/tests/multigrid/dof_04.cc +++ b/tests/multigrid/dof_04.cc @@ -43,7 +43,7 @@ check() DoFHandler dof(tr); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); std::vector dof_indices(fe.dofs_per_cell); std::vector mg_dof_indices(fe.dofs_per_cell); diff --git a/tests/multigrid/dof_05.cc b/tests/multigrid/dof_05.cc index e9cc6ced1d..94acd75e32 100644 --- a/tests/multigrid/dof_05.cc +++ b/tests/multigrid/dof_05.cc @@ -46,7 +46,7 @@ check() DoFHandler dof(tr); dof.distribute_dofs(fe); - dof.distribute_mg_dofs(fe); + dof.distribute_mg_dofs(); deallog << dim << "D OK" << std::endl; } diff --git a/tests/multigrid/events_01.cc b/tests/multigrid/events_01.cc index 4cfa2d97c5..54b977e940 100644 --- a/tests/multigrid/events_01.cc +++ b/tests/multigrid/events_01.cc @@ -144,7 +144,7 @@ namespace Step50 LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); DoFTools::extract_locally_relevant_dofs(mg_dof_handler, locally_relevant_set); diff --git a/tests/multigrid/mg_coarse_01.cc b/tests/multigrid/mg_coarse_01.cc index fb0ec42257..4d7ec9fca4 100644 --- a/tests/multigrid/mg_coarse_01.cc +++ b/tests/multigrid/mg_coarse_01.cc @@ -201,7 +201,7 @@ namespace Step50 LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); DoFTools::extract_locally_relevant_dofs(mg_dof_handler, locally_relevant_set); diff --git a/tests/multigrid/mg_output_dirichlet.cc b/tests/multigrid/mg_output_dirichlet.cc index 349c234e15..188a534a52 100644 --- a/tests/multigrid/mg_output_dirichlet.cc +++ b/tests/multigrid/mg_output_dirichlet.cc @@ -221,11 +221,11 @@ check_simple(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); DoFHandler mgdof_renumbered(tr); mgdof_renumbered.distribute_dofs(fe); - mgdof_renumbered.distribute_mg_dofs(fe); + mgdof_renumbered.distribute_mg_dofs(); std::vector block_component(4, 0); block_component[2] = 1; diff --git a/tests/multigrid/mg_output_neumann.cc b/tests/multigrid/mg_output_neumann.cc index b44bb80e1a..703a7f0768 100644 --- a/tests/multigrid/mg_output_neumann.cc +++ b/tests/multigrid/mg_output_neumann.cc @@ -219,11 +219,11 @@ check_simple(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); DoFHandler mgdof_renumbered(tr); mgdof_renumbered.distribute_dofs(fe); - mgdof_renumbered.distribute_mg_dofs(fe); + mgdof_renumbered.distribute_mg_dofs(); std::vector block_component(4, 0); block_component[2] = 1; diff --git a/tests/multigrid/mg_renumbered_01.cc b/tests/multigrid/mg_renumbered_01.cc index 587c308b89..e79ea0d620 100644 --- a/tests/multigrid/mg_renumbered_01.cc +++ b/tests/multigrid/mg_renumbered_01.cc @@ -209,9 +209,9 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); mg_dof_handler_renumbered.distribute_dofs(fe); - mg_dof_handler_renumbered.distribute_mg_dofs(fe); + mg_dof_handler_renumbered.distribute_mg_dofs(); std::vector block_component(2 * dim, 0); for (unsigned int c = dim; c < 2 * dim; ++c) diff --git a/tests/multigrid/mg_renumbered_02.cc b/tests/multigrid/mg_renumbered_02.cc index 765b612b60..a65dca1233 100644 --- a/tests/multigrid/mg_renumbered_02.cc +++ b/tests/multigrid/mg_renumbered_02.cc @@ -221,7 +221,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler_renumbered.distribute_dofs(fe); - mg_dof_handler_renumbered.distribute_mg_dofs(fe); + mg_dof_handler_renumbered.distribute_mg_dofs(); const unsigned int nlevels = triangulation.n_levels(); diff --git a/tests/multigrid/mg_renumbered_03.cc b/tests/multigrid/mg_renumbered_03.cc index 8ab549443c..703f21efd7 100644 --- a/tests/multigrid/mg_renumbered_03.cc +++ b/tests/multigrid/mg_renumbered_03.cc @@ -271,9 +271,9 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); mg_dof_handler_renumbered.distribute_dofs(fe); - mg_dof_handler_renumbered.distribute_mg_dofs(fe); + mg_dof_handler_renumbered.distribute_mg_dofs(); const unsigned int nlevels = triangulation.n_levels(); diff --git a/tests/multigrid/renumbering_01.cc b/tests/multigrid/renumbering_01.cc index eb97013b47..1cce3de6a9 100644 --- a/tests/multigrid/renumbering_01.cc +++ b/tests/multigrid/renumbering_01.cc @@ -52,7 +52,7 @@ check() DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); DoFRenumbering::component_wise(mgdof); for (unsigned int l = 0; l < tr.n_levels(); ++l) DoFRenumbering::component_wise(mgdof, l); diff --git a/tests/multigrid/renumbering_02.cc b/tests/multigrid/renumbering_02.cc index bc6e8e00f1..4cd07a746c 100644 --- a/tests/multigrid/renumbering_02.cc +++ b/tests/multigrid/renumbering_02.cc @@ -57,7 +57,7 @@ check() DoFHandler mg_dof_handler(tria); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); Point a; a(0) = 1; for (unsigned int level = 0; level < tria.n_levels(); ++level) diff --git a/tests/multigrid/renumbering_03.cc b/tests/multigrid/renumbering_03.cc index 4deda3182f..aed52fb3ef 100644 --- a/tests/multigrid/renumbering_03.cc +++ b/tests/multigrid/renumbering_03.cc @@ -59,7 +59,7 @@ check() DoFHandler mg_dof_handler(tria); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); for (unsigned int level = 0; level < tria.n_levels(); ++level) { const types::global_dof_index n_dofs = mg_dof_handler.n_dofs(level); diff --git a/tests/multigrid/renumbering_04.cc b/tests/multigrid/renumbering_04.cc index 1ed8ab1645..b3a4a4da86 100644 --- a/tests/multigrid/renumbering_04.cc +++ b/tests/multigrid/renumbering_04.cc @@ -52,7 +52,7 @@ check(FiniteElement &fe) DoFHandler dh(tria); dh.distribute_dofs(fe); - dh.distribute_mg_dofs(fe); + dh.distribute_mg_dofs(); deallog << "** before:" << std::endl; { diff --git a/tests/multigrid/step-16-02.cc b/tests/multigrid/step-16-02.cc index 46fe69d95c..a0ec9e6599 100644 --- a/tests/multigrid/step-16-02.cc +++ b/tests/multigrid/step-16-02.cc @@ -237,7 +237,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Number of degrees of freedom: " << mg_dof_handler.n_dofs(); for (unsigned int l = 0; l < triangulation.n_levels(); ++l) diff --git a/tests/multigrid/step-16-03.cc b/tests/multigrid/step-16-03.cc index b0fadd8968..8b17190ce7 100644 --- a/tests/multigrid/step-16-03.cc +++ b/tests/multigrid/step-16-03.cc @@ -162,7 +162,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); sparsity_pattern.reinit(mg_dof_handler.n_dofs(), mg_dof_handler.n_dofs(), diff --git a/tests/multigrid/step-16-04.cc b/tests/multigrid/step-16-04.cc index e5e97c7477..ae8257bf1a 100644 --- a/tests/multigrid/step-16-04.cc +++ b/tests/multigrid/step-16-04.cc @@ -166,7 +166,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); sparsity_pattern.reinit(mg_dof_handler.n_dofs(), mg_dof_handler.n_dofs(), diff --git a/tests/multigrid/step-16-05.cc b/tests/multigrid/step-16-05.cc index 5bcf876738..e0ccc78200 100644 --- a/tests/multigrid/step-16-05.cc +++ b/tests/multigrid/step-16-05.cc @@ -163,7 +163,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); sparsity_pattern.reinit(mg_dof_handler.n_dofs(), mg_dof_handler.n_dofs(), diff --git a/tests/multigrid/step-16-06.cc b/tests/multigrid/step-16-06.cc index a5d46fdb09..b0748e26f7 100644 --- a/tests/multigrid/step-16-06.cc +++ b/tests/multigrid/step-16-06.cc @@ -163,7 +163,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); sparsity_pattern.reinit(mg_dof_handler.n_dofs(), mg_dof_handler.n_dofs(), diff --git a/tests/multigrid/step-16-07.cc b/tests/multigrid/step-16-07.cc index f6b1aadb5a..7369f58437 100644 --- a/tests/multigrid/step-16-07.cc +++ b/tests/multigrid/step-16-07.cc @@ -162,7 +162,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Number of degrees of freedom: " << mg_dof_handler.n_dofs(); for (unsigned int l = 0; l < triangulation.n_levels(); ++l) diff --git a/tests/multigrid/step-16-50-mpi-linear-operator.cc b/tests/multigrid/step-16-50-mpi-linear-operator.cc index e235d990f5..ed87691193 100644 --- a/tests/multigrid/step-16-50-mpi-linear-operator.cc +++ b/tests/multigrid/step-16-50-mpi-linear-operator.cc @@ -196,7 +196,7 @@ namespace Step50 LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); DoFTools::extract_locally_relevant_dofs(mg_dof_handler, locally_relevant_set); diff --git a/tests/multigrid/step-16-50-mpi-smoother.cc b/tests/multigrid/step-16-50-mpi-smoother.cc index 680801bb64..f8365f1dd6 100644 --- a/tests/multigrid/step-16-50-mpi-smoother.cc +++ b/tests/multigrid/step-16-50-mpi-smoother.cc @@ -196,7 +196,7 @@ namespace Step50 LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); DoFTools::extract_locally_relevant_dofs(mg_dof_handler, locally_relevant_set); diff --git a/tests/multigrid/step-16-50-mpi.cc b/tests/multigrid/step-16-50-mpi.cc index 7529a61349..4a369c65e8 100644 --- a/tests/multigrid/step-16-50-mpi.cc +++ b/tests/multigrid/step-16-50-mpi.cc @@ -196,7 +196,7 @@ namespace Step50 LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); DoFTools::extract_locally_relevant_dofs(mg_dof_handler, locally_relevant_set); diff --git a/tests/multigrid/step-16-50-serial.cc b/tests/multigrid/step-16-50-serial.cc index 893cf79e72..733fb1034d 100644 --- a/tests/multigrid/step-16-50-serial.cc +++ b/tests/multigrid/step-16-50-serial.cc @@ -165,7 +165,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); sparsity_pattern.reinit(mg_dof_handler.n_dofs(), mg_dof_handler.n_dofs(), diff --git a/tests/multigrid/step-16-bdry1.cc b/tests/multigrid/step-16-bdry1.cc index a7f567beb1..8e39e8031a 100644 --- a/tests/multigrid/step-16-bdry1.cc +++ b/tests/multigrid/step-16-bdry1.cc @@ -238,7 +238,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Number of degrees of freedom: " << mg_dof_handler.n_dofs(); for (unsigned int l = 0; l < triangulation.n_levels(); ++l) diff --git a/tests/multigrid/step-16.cc b/tests/multigrid/step-16.cc index 3b4dfe4cd3..6a27dc0893 100644 --- a/tests/multigrid/step-16.cc +++ b/tests/multigrid/step-16.cc @@ -162,7 +162,7 @@ void LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Number of degrees of freedom: " << mg_dof_handler.n_dofs(); for (unsigned int l = 0; l < triangulation.n_levels(); ++l) diff --git a/tests/multigrid/step-39-02.cc b/tests/multigrid/step-39-02.cc index a335b5ddbd..8f7d862dda 100644 --- a/tests/multigrid/step-39-02.cc +++ b/tests/multigrid/step-39-02.cc @@ -452,7 +452,7 @@ namespace Step39 InteriorPenaltyProblem::setup_system() { dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); types::global_dof_index n_dofs = dof_handler.n_dofs(); solution.reinit(n_dofs); right_hand_side.reinit(n_dofs); diff --git a/tests/multigrid/step-39-02a.cc b/tests/multigrid/step-39-02a.cc index 220d8d65ef..4d6a3ec3d4 100644 --- a/tests/multigrid/step-39-02a.cc +++ b/tests/multigrid/step-39-02a.cc @@ -455,7 +455,7 @@ namespace Step39 InteriorPenaltyProblem::setup_system() { dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); types::global_dof_index n_dofs = dof_handler.n_dofs(); solution.reinit(n_dofs); right_hand_side.reinit(n_dofs); diff --git a/tests/multigrid/step-39-03.cc b/tests/multigrid/step-39-03.cc index 4ab6afb628..439c841c53 100644 --- a/tests/multigrid/step-39-03.cc +++ b/tests/multigrid/step-39-03.cc @@ -458,7 +458,7 @@ namespace Step39 InteriorPenaltyProblem::setup_system() { dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); types::global_dof_index n_dofs = dof_handler.n_dofs(); solution.reinit(n_dofs); right_hand_side.reinit(n_dofs); diff --git a/tests/multigrid/step-39.cc b/tests/multigrid/step-39.cc index a75319c067..9160fc1c8c 100644 --- a/tests/multigrid/step-39.cc +++ b/tests/multigrid/step-39.cc @@ -452,7 +452,7 @@ namespace Step39 InteriorPenaltyProblem::setup_system() { dof_handler.distribute_dofs(fe); - dof_handler.distribute_mg_dofs(fe); + dof_handler.distribute_mg_dofs(); types::global_dof_index n_dofs = dof_handler.n_dofs(); solution.reinit(n_dofs); right_hand_side.reinit(n_dofs); diff --git a/tests/multigrid/step-50_01.cc b/tests/multigrid/step-50_01.cc index 6d0144f780..0daaf3d4fe 100644 --- a/tests/multigrid/step-50_01.cc +++ b/tests/multigrid/step-50_01.cc @@ -198,7 +198,7 @@ namespace Step50 LaplaceProblem::setup_system() { mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); DoFTools::extract_locally_relevant_dofs(mg_dof_handler, locally_relevant_set); diff --git a/tests/multigrid/transfer_01.cc b/tests/multigrid/transfer_01.cc index 7cc63c260a..b25d222143 100644 --- a/tests/multigrid/transfer_01.cc +++ b/tests/multigrid/transfer_01.cc @@ -67,7 +67,7 @@ check_simple(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGTransferPrebuilt> transfer; transfer.build_matrices(mgdof); diff --git a/tests/multigrid/transfer_02.cc b/tests/multigrid/transfer_02.cc index e16988b6e5..02e33a3e0f 100644 --- a/tests/multigrid/transfer_02.cc +++ b/tests/multigrid/transfer_02.cc @@ -100,7 +100,7 @@ check_simple(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGTransferPrebuilt> transfer; transfer.build_matrices(mgdof); diff --git a/tests/multigrid/transfer_03.cc b/tests/multigrid/transfer_03.cc index 0cb623b156..0d9c03c685 100644 --- a/tests/multigrid/transfer_03.cc +++ b/tests/multigrid/transfer_03.cc @@ -193,11 +193,11 @@ check_simple(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); DoFHandler mgdof_renumbered(tr); mgdof_renumbered.distribute_dofs(fe); - mgdof_renumbered.distribute_mg_dofs(fe); + mgdof_renumbered.distribute_mg_dofs(); std::vector block_component(4, 0); block_component[2] = 1; diff --git a/tests/multigrid/transfer_04.cc b/tests/multigrid/transfer_04.cc index a2ffd2d42f..326e597f40 100644 --- a/tests/multigrid/transfer_04.cc +++ b/tests/multigrid/transfer_04.cc @@ -122,7 +122,7 @@ check_fe(FiniteElement &fe) DoFHandler dofh(tr); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); typedef TrilinosWrappers::MPI::Vector vector_t; MGConstrainedDoFs mg_constrained_dofs; diff --git a/tests/multigrid/transfer_04a.cc b/tests/multigrid/transfer_04a.cc index 9733e27802..ed71663c24 100644 --- a/tests/multigrid/transfer_04a.cc +++ b/tests/multigrid/transfer_04a.cc @@ -126,7 +126,7 @@ check_fe(FiniteElement &fe) DoFHandler dofh(tr); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); typedef TrilinosWrappers::MPI::Vector vector_t; {} MGTransferPrebuilt transfer; diff --git a/tests/multigrid/transfer_04b.cc b/tests/multigrid/transfer_04b.cc index d4daa56a27..42994dbdfb 100644 --- a/tests/multigrid/transfer_04b.cc +++ b/tests/multigrid/transfer_04b.cc @@ -126,7 +126,7 @@ check_fe(FiniteElement &fe) DoFHandler dofh(tr); dofh.distribute_dofs(fe); - dofh.distribute_mg_dofs(fe); + dofh.distribute_mg_dofs(); typedef PETScWrappers::MPI::Vector vector_t; {} MGTransferPrebuilt transfer; diff --git a/tests/multigrid/transfer_05.cc b/tests/multigrid/transfer_05.cc index aced985f94..ec5447a9b3 100644 --- a/tests/multigrid/transfer_05.cc +++ b/tests/multigrid/transfer_05.cc @@ -103,7 +103,7 @@ check(const unsigned int fe_degree) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs; ZeroFunction zero_function; diff --git a/tests/multigrid/transfer_06.cc b/tests/multigrid/transfer_06.cc index 551bdf0cc0..f4cdaaf52b 100644 --- a/tests/multigrid/transfer_06.cc +++ b/tests/multigrid/transfer_06.cc @@ -109,11 +109,11 @@ check(const unsigned int fe_degree) DoFHandler mgdof_1(tr); mgdof_1.distribute_dofs(fe_1); - mgdof_1.distribute_mg_dofs(fe_1); + mgdof_1.distribute_mg_dofs(); DoFHandler mgdof_2(tr); mgdof_2.distribute_dofs(fe_2); - mgdof_2.distribute_mg_dofs(fe_2); + mgdof_2.distribute_mg_dofs(); const std::vector *> mgdof_ptr{&mgdof_1, &mgdof_2}; diff --git a/tests/multigrid/transfer_block.cc b/tests/multigrid/transfer_block.cc index 82c2578b32..abb10618d1 100644 --- a/tests/multigrid/transfer_block.cc +++ b/tests/multigrid/transfer_block.cc @@ -99,7 +99,7 @@ check_block(const FiniteElement &fe, DoFHandler mgdof(tr); DoFHandler &dof = mgdof; mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); DoFRenumbering::component_wise(mgdof); vector ndofs(fe.n_blocks()); DoFTools::count_dofs_per_block(mgdof, ndofs); diff --git a/tests/multigrid/transfer_block_select.cc b/tests/multigrid/transfer_block_select.cc index c532494651..a1d0f4e0ad 100644 --- a/tests/multigrid/transfer_block_select.cc +++ b/tests/multigrid/transfer_block_select.cc @@ -85,7 +85,7 @@ check_select(const FiniteElement &fe, unsigned int selected) DoFHandler mgdof(tr); DoFHandler &dof = mgdof; mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); DoFRenumbering::component_wise(mgdof); vector ndofs(fe.n_blocks()); DoFTools::count_dofs_per_block(mgdof, ndofs); diff --git a/tests/multigrid/transfer_compare_01.cc b/tests/multigrid/transfer_compare_01.cc index d8b6d6844c..4e97c2223e 100644 --- a/tests/multigrid/transfer_compare_01.cc +++ b/tests/multigrid/transfer_compare_01.cc @@ -129,7 +129,7 @@ check_block(const FiniteElement &fe) DoFHandler mgdof(tr); DoFHandler &dof = mgdof; mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); // Make sure all orderings are the // same diff --git a/tests/multigrid/transfer_matrix_free_01.cc b/tests/multigrid/transfer_matrix_free_01.cc index c169c1ee00..3345e52d99 100644 --- a/tests/multigrid/transfer_matrix_free_01.cc +++ b/tests/multigrid/transfer_matrix_free_01.cc @@ -65,7 +65,7 @@ check(const unsigned int fe_degree) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs; Functions::ZeroFunction zero_function; diff --git a/tests/multigrid/transfer_matrix_free_02.cc b/tests/multigrid/transfer_matrix_free_02.cc index f590ab0484..94413aa6f3 100644 --- a/tests/multigrid/transfer_matrix_free_02.cc +++ b/tests/multigrid/transfer_matrix_free_02.cc @@ -94,7 +94,7 @@ check(const unsigned int fe_degree) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs; Functions::ZeroFunction zero_function; diff --git a/tests/multigrid/transfer_matrix_free_02_block.cc b/tests/multigrid/transfer_matrix_free_02_block.cc index a9a31a45dc..4e7f5e2041 100644 --- a/tests/multigrid/transfer_matrix_free_02_block.cc +++ b/tests/multigrid/transfer_matrix_free_02_block.cc @@ -98,7 +98,7 @@ check(const unsigned int fe_degree) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs; ZeroFunction zero_function; diff --git a/tests/multigrid/transfer_matrix_free_02_block_02.cc b/tests/multigrid/transfer_matrix_free_02_block_02.cc index bd359bbdea..4d782c8e30 100644 --- a/tests/multigrid/transfer_matrix_free_02_block_02.cc +++ b/tests/multigrid/transfer_matrix_free_02_block_02.cc @@ -103,11 +103,11 @@ check(const unsigned int fe_degree) DoFHandler mgdof_1(tr); mgdof_1.distribute_dofs(fe_1); - mgdof_1.distribute_mg_dofs(fe_1); + mgdof_1.distribute_mg_dofs(); DoFHandler mgdof_2(tr); mgdof_2.distribute_dofs(fe_2); - mgdof_2.distribute_mg_dofs(fe_2); + mgdof_2.distribute_mg_dofs(); const std::vector *> mgdof_ptr{&mgdof_1, &mgdof_2}; diff --git a/tests/multigrid/transfer_matrix_free_03.cc b/tests/multigrid/transfer_matrix_free_03.cc index 16a5a339fe..9ffb085351 100644 --- a/tests/multigrid/transfer_matrix_free_03.cc +++ b/tests/multigrid/transfer_matrix_free_03.cc @@ -63,7 +63,7 @@ check(const unsigned int fe_degree) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs; Functions::ZeroFunction zero_function; diff --git a/tests/multigrid/transfer_matrix_free_04.cc b/tests/multigrid/transfer_matrix_free_04.cc index 17915ee17c..4143160858 100644 --- a/tests/multigrid/transfer_matrix_free_04.cc +++ b/tests/multigrid/transfer_matrix_free_04.cc @@ -66,7 +66,7 @@ check(const unsigned int fe_degree) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); // build reference MGTransferPrebuilt> diff --git a/tests/multigrid/transfer_matrix_free_05.cc b/tests/multigrid/transfer_matrix_free_05.cc index 220eb31076..73b429074e 100644 --- a/tests/multigrid/transfer_matrix_free_05.cc +++ b/tests/multigrid/transfer_matrix_free_05.cc @@ -93,7 +93,7 @@ check(const unsigned int fe_degree) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); // build reference MGTransferPrebuilt> diff --git a/tests/multigrid/transfer_matrix_free_06.cc b/tests/multigrid/transfer_matrix_free_06.cc index 8654ceccf2..e3206fa262 100644 --- a/tests/multigrid/transfer_matrix_free_06.cc +++ b/tests/multigrid/transfer_matrix_free_06.cc @@ -96,7 +96,7 @@ check(const unsigned int fe_degree) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs; Functions::ZeroFunction zero_function; diff --git a/tests/multigrid/transfer_matrix_free_07.cc b/tests/multigrid/transfer_matrix_free_07.cc index f82a46ee22..f6b118bb46 100644 --- a/tests/multigrid/transfer_matrix_free_07.cc +++ b/tests/multigrid/transfer_matrix_free_07.cc @@ -93,7 +93,7 @@ check(const unsigned int fe_degree) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); // build reference MGTransferPrebuilt> diff --git a/tests/multigrid/transfer_matrix_free_08.cc b/tests/multigrid/transfer_matrix_free_08.cc index f1d98ae909..18b33e98a9 100644 --- a/tests/multigrid/transfer_matrix_free_08.cc +++ b/tests/multigrid/transfer_matrix_free_08.cc @@ -67,7 +67,7 @@ check(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); // build matrix-free transfer MGTransferMatrixFree transfer; diff --git a/tests/multigrid/transfer_matrix_free_09.cc b/tests/multigrid/transfer_matrix_free_09.cc index ca997301a5..ba94fa9eda 100644 --- a/tests/multigrid/transfer_matrix_free_09.cc +++ b/tests/multigrid/transfer_matrix_free_09.cc @@ -61,7 +61,7 @@ check(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); Tensor<1, dim> exponents_monomial; for (unsigned int d = 0; d < dim; ++d) diff --git a/tests/multigrid/transfer_matrix_free_10.cc b/tests/multigrid/transfer_matrix_free_10.cc index 2e6ee74b89..7b462d80c2 100644 --- a/tests/multigrid/transfer_matrix_free_10.cc +++ b/tests/multigrid/transfer_matrix_free_10.cc @@ -61,7 +61,7 @@ check(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); Tensor<1, dim> exponents_monomial; for (unsigned int d = 0; d < dim; ++d) diff --git a/tests/multigrid/transfer_matrix_free_11.cc b/tests/multigrid/transfer_matrix_free_11.cc index 3f866d4b3b..2d618d1bda 100644 --- a/tests/multigrid/transfer_matrix_free_11.cc +++ b/tests/multigrid/transfer_matrix_free_11.cc @@ -55,7 +55,7 @@ check(const unsigned int fe_degree) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs; mg_constrained_dofs.initialize(mgdof); diff --git a/tests/multigrid/transfer_matrix_free_12.cc b/tests/multigrid/transfer_matrix_free_12.cc index de9dd72164..17b1fce664 100644 --- a/tests/multigrid/transfer_matrix_free_12.cc +++ b/tests/multigrid/transfer_matrix_free_12.cc @@ -70,7 +70,7 @@ check(const FiniteElement &fe_scalar) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); // build matrix-free transfer MGTransferMatrixFree transfer; diff --git a/tests/multigrid/transfer_prebuilt_01.cc b/tests/multigrid/transfer_prebuilt_01.cc index a0fb2246cc..b5432676c8 100644 --- a/tests/multigrid/transfer_prebuilt_01.cc +++ b/tests/multigrid/transfer_prebuilt_01.cc @@ -58,7 +58,7 @@ check_simple(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGTransferPrebuilt> transfer; transfer.build_matrices(mgdof); diff --git a/tests/multigrid/transfer_prebuilt_02.cc b/tests/multigrid/transfer_prebuilt_02.cc index 22ad770476..9c6df50768 100644 --- a/tests/multigrid/transfer_prebuilt_02.cc +++ b/tests/multigrid/transfer_prebuilt_02.cc @@ -60,7 +60,7 @@ check_simple(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs; mg_constrained_dofs.initialize(mgdof); diff --git a/tests/multigrid/transfer_prebuilt_03.cc b/tests/multigrid/transfer_prebuilt_03.cc index 1568fa8d1a..0c4806b130 100644 --- a/tests/multigrid/transfer_prebuilt_03.cc +++ b/tests/multigrid/transfer_prebuilt_03.cc @@ -61,7 +61,7 @@ check_simple(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); std::map *> dirichlet_boundary; Functions::ZeroFunction homogeneous_dirichlet_bc(1); diff --git a/tests/multigrid/transfer_prebuilt_04.cc b/tests/multigrid/transfer_prebuilt_04.cc index 141e8ad717..074ff7f503 100644 --- a/tests/multigrid/transfer_prebuilt_04.cc +++ b/tests/multigrid/transfer_prebuilt_04.cc @@ -63,7 +63,7 @@ check() DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGConstrainedDoFs mg_constrained_dofs; Functions::ZeroFunction zero_function; diff --git a/tests/multigrid/transfer_select.cc b/tests/multigrid/transfer_select.cc index e1f8f390bc..8fc70872f2 100644 --- a/tests/multigrid/transfer_select.cc +++ b/tests/multigrid/transfer_select.cc @@ -58,7 +58,7 @@ check_select(const FiniteElement &fe, DoFHandler mgdof(tr); DoFHandler &dof = mgdof; mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); DoFRenumbering::component_wise(mgdof, target_component); vector ndofs( *std::max_element(target_component.begin(), target_component.end()) + 1); diff --git a/tests/multigrid/transfer_system_01.cc b/tests/multigrid/transfer_system_01.cc index 1fa3206622..6835847470 100644 --- a/tests/multigrid/transfer_system_01.cc +++ b/tests/multigrid/transfer_system_01.cc @@ -97,7 +97,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); DoFRenumbering::component_wise(mg_dof_handler); for (unsigned int level = 0; level < tr.n_levels(); ++level) diff --git a/tests/multigrid/transfer_system_02.cc b/tests/multigrid/transfer_system_02.cc index 29eca1f469..8a82dec489 100644 --- a/tests/multigrid/transfer_system_02.cc +++ b/tests/multigrid/transfer_system_02.cc @@ -98,7 +98,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); DoFRenumbering::component_wise(mg_dof_handler); for (unsigned int level = 0; level < tr.n_levels(); ++level) diff --git a/tests/multigrid/transfer_system_03.cc b/tests/multigrid/transfer_system_03.cc index f275b5f19f..00eee4d5ce 100644 --- a/tests/multigrid/transfer_system_03.cc +++ b/tests/multigrid/transfer_system_03.cc @@ -99,7 +99,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); DoFRenumbering::component_wise(mg_dof_handler); for (unsigned int level = 0; level < tr.n_levels(); ++level) diff --git a/tests/multigrid/transfer_system_04.cc b/tests/multigrid/transfer_system_04.cc index 9b738d3745..9d6c8f7fa9 100644 --- a/tests/multigrid/transfer_system_04.cc +++ b/tests/multigrid/transfer_system_04.cc @@ -99,7 +99,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); std::vector block_component(3, 0); block_component[2] = 1; diff --git a/tests/multigrid/transfer_system_05.cc b/tests/multigrid/transfer_system_05.cc index c3204e449f..cc9a6e7264 100644 --- a/tests/multigrid/transfer_system_05.cc +++ b/tests/multigrid/transfer_system_05.cc @@ -53,7 +53,7 @@ check(const FiniteElement &fe, const unsigned int selected_block) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); std::vector block_component(5, 0); block_component[2] = 1; diff --git a/tests/multigrid/transfer_system_adaptive_01.cc b/tests/multigrid/transfer_system_adaptive_01.cc index c45231881d..c908ae1b62 100644 --- a/tests/multigrid/transfer_system_adaptive_01.cc +++ b/tests/multigrid/transfer_system_adaptive_01.cc @@ -137,7 +137,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Global dofs: " << mg_dof_handler.n_dofs() << std::endl; for (unsigned int l = 0; l < tr.n_levels(); ++l) diff --git a/tests/multigrid/transfer_system_adaptive_02.cc b/tests/multigrid/transfer_system_adaptive_02.cc index 3f0f295e31..fd6b86cea1 100644 --- a/tests/multigrid/transfer_system_adaptive_02.cc +++ b/tests/multigrid/transfer_system_adaptive_02.cc @@ -137,7 +137,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Global dofs: " << mg_dof_handler.n_dofs() << std::endl; for (unsigned int l = 0; l < tr.n_levels(); ++l) diff --git a/tests/multigrid/transfer_system_adaptive_03.cc b/tests/multigrid/transfer_system_adaptive_03.cc index fb054e5c51..700ee7d784 100644 --- a/tests/multigrid/transfer_system_adaptive_03.cc +++ b/tests/multigrid/transfer_system_adaptive_03.cc @@ -138,7 +138,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Global dofs: " << mg_dof_handler.n_dofs() << std::endl; for (unsigned int l = 0; l < tr.n_levels(); ++l) diff --git a/tests/multigrid/transfer_system_adaptive_04.cc b/tests/multigrid/transfer_system_adaptive_04.cc index fcbbff1414..a504d45934 100644 --- a/tests/multigrid/transfer_system_adaptive_04.cc +++ b/tests/multigrid/transfer_system_adaptive_04.cc @@ -137,7 +137,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Global dofs: " << mg_dof_handler.n_dofs() << std::endl; for (unsigned int l = 0; l < tr.n_levels(); ++l) diff --git a/tests/multigrid/transfer_system_adaptive_05.cc b/tests/multigrid/transfer_system_adaptive_05.cc index 2dc4a631c1..8318af82bd 100644 --- a/tests/multigrid/transfer_system_adaptive_05.cc +++ b/tests/multigrid/transfer_system_adaptive_05.cc @@ -139,7 +139,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Global dofs: " << mg_dof_handler.n_dofs() << std::endl; for (unsigned int l = 0; l < tr.n_levels(); ++l) diff --git a/tests/multigrid/transfer_system_adaptive_06.cc b/tests/multigrid/transfer_system_adaptive_06.cc index daa8141fef..c9804a34e2 100644 --- a/tests/multigrid/transfer_system_adaptive_06.cc +++ b/tests/multigrid/transfer_system_adaptive_06.cc @@ -137,7 +137,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); deallog << "Global dofs: " << mg_dof_handler.n_dofs() << std::endl; for (unsigned int l = 0; l < tr.n_levels(); ++l) diff --git a/tests/multigrid/transfer_system_adaptive_07.cc b/tests/multigrid/transfer_system_adaptive_07.cc index c024583202..da5d56403a 100644 --- a/tests/multigrid/transfer_system_adaptive_07.cc +++ b/tests/multigrid/transfer_system_adaptive_07.cc @@ -139,7 +139,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); std::vector block_selected(3, 0); block_selected[2] = 1; diff --git a/tests/multigrid/transfer_system_adaptive_08.cc b/tests/multigrid/transfer_system_adaptive_08.cc index 7328215b41..179b12a858 100644 --- a/tests/multigrid/transfer_system_adaptive_08.cc +++ b/tests/multigrid/transfer_system_adaptive_08.cc @@ -138,7 +138,7 @@ check(const FiniteElement &fe) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); std::vector block_selected(3, 0); block_selected[2] = 1; diff --git a/tests/multigrid/transfer_system_adaptive_09.cc b/tests/multigrid/transfer_system_adaptive_09.cc index eb622ccc42..9954b618b6 100644 --- a/tests/multigrid/transfer_system_adaptive_09.cc +++ b/tests/multigrid/transfer_system_adaptive_09.cc @@ -99,7 +99,7 @@ check(const FiniteElement &fe, const unsigned int selected_block) DoFHandler mg_dof_handler(tr); mg_dof_handler.distribute_dofs(fe); - mg_dof_handler.distribute_mg_dofs(fe); + mg_dof_handler.distribute_mg_dofs(); std::vector block_component(5, 0); block_component[2] = 1; diff --git a/tests/trilinos/mg_transfer_prebuilt_01.cc b/tests/trilinos/mg_transfer_prebuilt_01.cc index 04699d55d2..54a8357b2a 100644 --- a/tests/trilinos/mg_transfer_prebuilt_01.cc +++ b/tests/trilinos/mg_transfer_prebuilt_01.cc @@ -78,7 +78,7 @@ check_simple(const FiniteElement &fe) DoFHandler mgdof(tr); mgdof.distribute_dofs(fe); - mgdof.distribute_mg_dofs(fe); + mgdof.distribute_mg_dofs(); MGTransferPrebuilt transfer; transfer.build_matrices(mgdof);