From d8c6503a374275c72c87f564e2b4b42a9a0f2abd Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 18 Aug 2008 23:05:06 +0000 Subject: [PATCH] Remove the currently problematic lines removing coarsening flags. git-svn-id: https://svn.dealii.org/trunk@16592 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-31/step-31.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index 9401c377e7..410b887042 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -2169,9 +2169,7 @@ void BoussinesqFlowProblem::refine_mesh (const unsigned int max_grid_level) for (typename Triangulation::active_cell_iterator cell = triangulation.begin_active(max_grid_level); cell != triangulation.end(); ++cell) - if ((cell->has_children() == false) - && - (cell->refine_flag_set() == true)) + if (cell->has_children() == false) cell->clear_refine_flag (); SolutionTransfer soltrans(dof_handler); -- 2.39.5