From: Wolfgang Bangerth Date: Fri, 8 Mar 2024 05:39:04 +0000 (-0700) Subject: Close the correct constraints objects. X-Git-Tag: v9.6.0-rc1~497^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5d5616231395690cc32170e01968fd1e761c90a;p=dealii.git Close the correct constraints objects. --- 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;