From b5d5616231395690cc32170e01968fd1e761c90a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 7 Mar 2024 22:39:04 -0700 Subject: [PATCH] Close the correct constraints objects. --- tests/multigrid-global-coarsening/mg_transfer_a_01.cc | 2 +- tests/multigrid-global-coarsening/mg_transfer_a_02.cc | 2 +- tests/multigrid-global-coarsening/mg_transfer_a_03.cc | 2 +- tests/multigrid-global-coarsening/mg_transfer_a_04.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/multigrid-global-coarsening/mg_transfer_a_01.cc b/tests/multigrid-global-coarsening/mg_transfer_a_01.cc index effd7c1327..dd248b6837 100644 --- a/tests/multigrid-global-coarsening/mg_transfer_a_01.cc +++ b/tests/multigrid-global-coarsening/mg_transfer_a_01.cc @@ -103,7 +103,7 @@ do_test(const FiniteElement &fe_fine, const FiniteElement &fe_coarse) AffineConstraints constraint_fine; DoFTools::make_hanging_node_constraints(dof_handler_fine, constraint_fine); - constraint_coarse.close(); + constraint_fine.close(); // setup transfer operator MGTwoLevelTransfer> transfer; diff --git a/tests/multigrid-global-coarsening/mg_transfer_a_02.cc b/tests/multigrid-global-coarsening/mg_transfer_a_02.cc index 5af054a3fc..71473a979e 100644 --- a/tests/multigrid-global-coarsening/mg_transfer_a_02.cc +++ b/tests/multigrid-global-coarsening/mg_transfer_a_02.cc @@ -90,7 +90,7 @@ do_test(const FiniteElement &fe_fine, const FiniteElement &fe_coarse) AffineConstraints constraint_fine; DoFTools::make_hanging_node_constraints(dof_handler_fine, constraint_fine); - constraint_coarse.close(); + constraint_fine.close(); // setup transfer operator MGTwoLevelTransfer> transfer; diff --git a/tests/multigrid-global-coarsening/mg_transfer_a_03.cc b/tests/multigrid-global-coarsening/mg_transfer_a_03.cc index 00b2c021a8..b7678349a9 100644 --- a/tests/multigrid-global-coarsening/mg_transfer_a_03.cc +++ b/tests/multigrid-global-coarsening/mg_transfer_a_03.cc @@ -99,7 +99,7 @@ do_test(const FiniteElement &fe_fine, const FiniteElement &fe_coarse) AffineConstraints constraint_fine; DoFTools::make_hanging_node_constraints(dof_handler_fine, constraint_fine); - constraint_coarse.close(); + constraint_fine.close(); // setup transfer operator MGTwoLevelTransfer> transfer; diff --git a/tests/multigrid-global-coarsening/mg_transfer_a_04.cc b/tests/multigrid-global-coarsening/mg_transfer_a_04.cc index 2d535db237..8d5e9f1a20 100644 --- a/tests/multigrid-global-coarsening/mg_transfer_a_04.cc +++ b/tests/multigrid-global-coarsening/mg_transfer_a_04.cc @@ -83,7 +83,7 @@ do_test(const FiniteElement &fe_fine, const FiniteElement &fe_coarse) AffineConstraints constraint_fine; DoFTools::make_hanging_node_constraints(dof_handler_fine, constraint_fine); - constraint_coarse.close(); + constraint_fine.close(); // setup transfer operator MGTwoLevelTransfer> transfer; -- 2.39.5