From: Marc Fehling Date: Sun, 14 Mar 2021 03:46:10 +0000 (-0700) Subject: Fix refinement flags in mpi/prepare_coarsening_and_refinement_03(). X-Git-Tag: v9.3.0-rc1~330^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11905%2Fhead;p=dealii.git Fix refinement flags in mpi/prepare_coarsening_and_refinement_03(). --- 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(); }