]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Close the correct constraints objects. 16733/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 8 Mar 2024 05:39:04 +0000 (22:39 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 8 Mar 2024 05:39:04 +0000 (22:39 -0700)
tests/multigrid-global-coarsening/mg_transfer_a_01.cc
tests/multigrid-global-coarsening/mg_transfer_a_02.cc
tests/multigrid-global-coarsening/mg_transfer_a_03.cc
tests/multigrid-global-coarsening/mg_transfer_a_04.cc

index effd7c13277f41c00d825643ff4ac36b9bf51c56..dd248b6837c58c2767ecca1840a64bfec4d8b79e 100644 (file)
@@ -103,7 +103,7 @@ do_test(const FiniteElement<dim> &fe_fine, const FiniteElement<dim> &fe_coarse)
 
   AffineConstraints<Number> constraint_fine;
   DoFTools::make_hanging_node_constraints(dof_handler_fine, constraint_fine);
-  constraint_coarse.close();
+  constraint_fine.close();
 
   // setup transfer operator
   MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>> transfer;
index 5af054a3fcc85e47b37c8805cbe4c7e34085d515..71473a979e99553478875cd54eb8f0b095336e37 100644 (file)
@@ -90,7 +90,7 @@ do_test(const FiniteElement<dim> &fe_fine, const FiniteElement<dim> &fe_coarse)
 
   AffineConstraints<Number> constraint_fine;
   DoFTools::make_hanging_node_constraints(dof_handler_fine, constraint_fine);
-  constraint_coarse.close();
+  constraint_fine.close();
 
   // setup transfer operator
   MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>> transfer;
index 00b2c021a886dbb33e994ff4c848fea8183ec2a5..b7678349a9e74d8a283a0f489d9f4521a700255a 100644 (file)
@@ -99,7 +99,7 @@ do_test(const FiniteElement<dim> &fe_fine, const FiniteElement<dim> &fe_coarse)
 
   AffineConstraints<Number> constraint_fine;
   DoFTools::make_hanging_node_constraints(dof_handler_fine, constraint_fine);
-  constraint_coarse.close();
+  constraint_fine.close();
 
   // setup transfer operator
   MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>> transfer;
index 2d535db237f8e7caf9e4a172ec1ad0337387db28..8d5e9f1a20382785e3a42eea26c4b3ccf786ca6d 100644 (file)
@@ -83,7 +83,7 @@ do_test(const FiniteElement<dim> &fe_fine, const FiniteElement<dim> &fe_coarse)
 
   AffineConstraints<Number> constraint_fine;
   DoFTools::make_hanging_node_constraints(dof_handler_fine, constraint_fine);
-  constraint_coarse.close();
+  constraint_fine.close();
 
   // setup transfer operator
   MGTwoLevelTransfer<dim, LinearAlgebra::distributed::Vector<Number>> transfer;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.