]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Close an AffineConstraints object before doing anything with it. 17623/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 28 Aug 2024 02:48:23 +0000 (20:48 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 29 Aug 2024 13:59:40 +0000 (07:59 -0600)
include/deal.II/lac/affine_constraints.templates.h

index 0946291fee70eef120d28aa9a5f8a0f40cc44d12..16a9f1b689f10991d8af83d4671082d9cb8f89ff 100644 (file)
@@ -660,6 +660,7 @@ AffineConstraints<number>::make_consistent_in_parallel(
       this->reinit(locally_owned_dofs, locally_stored_constraints);
       for (const auto &line : imported_constraints)
         this->add_constraint(line.index, line.entries, line.inhomogeneity);
+      this->close();
 
       // 4) Stop loop if converged.
       const bool constraints_converged =

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.