From 5494ca165aee863033ec939021ed85d98fc618c2 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Sat, 13 Mar 2021 20:46:10 -0700 Subject: [PATCH] Fix refinement flags in mpi/prepare_coarsening_and_refinement_03(). --- tests/mpi/prepare_coarsening_and_refinement_03.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/mpi/prepare_coarsening_and_refinement_03.cc b/tests/mpi/prepare_coarsening_and_refinement_03.cc index 1c84fa5f89..0ab5d6f59f 100644 --- a/tests/mpi/prepare_coarsening_and_refinement_03.cc +++ b/tests/mpi/prepare_coarsening_and_refinement_03.cc @@ -80,10 +80,9 @@ test(parallel::TriangulationBase &tria, for (unsigned int i = 0; i < n_refinements; ++i) { for (const auto &cell : tria.active_cell_iterators()) - if (cell->is_locally_owned()) - for (unsigned int v = 0; v < cell->n_vertices(); ++v) - if (cell->vertex(v)[0] == 0.) - cell->set_refine_flag(); + for (unsigned int v = 0; v < cell->n_vertices(); ++v) + if (cell->vertex(v)[0] == 0.) + cell->set_refine_flag(); tria.execute_coarsening_and_refinement(); } -- 2.39.5