]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Always enforce mesh balance over periodic boundaries
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 9 Aug 2018 11:26:50 +0000 (13:26 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 9 Aug 2018 11:26:50 +0000 (13:26 +0200)
source/distributed/tria.cc

index 48988eeec5d52984df782d4ec4b930bc436210d9..8e16f9c3da4051d5fa3f5e41ab8d3a87bff6f5de 100644 (file)
@@ -3428,9 +3428,7 @@ namespace parallel
             prepare_coarsening_and_refinement();
           this->update_periodic_face_map();
           // enforce 2:1 mesh balance over periodic boundaries
-          if (this->smooth_grid & dealii::Triangulation<dim, spacedim>::
-                                    limit_level_difference_at_vertices)
-            mesh_changed = enforce_mesh_balance_over_periodic_boundaries(*this);
+          mesh_changed = enforce_mesh_balance_over_periodic_boundaries(*this);
         }
       while (mesh_changed);
 

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.