]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove the currently problematic lines removing coarsening flags.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 18 Aug 2008 23:05:06 +0000 (23:05 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 18 Aug 2008 23:05:06 +0000 (23:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@16592 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-31/step-31.cc

index 9401c377e79b06cdb48b2d8ea789edf31358f1ce..410b88704251c4230e3b2e61182afef06bd38321 100644 (file)
@@ -2169,9 +2169,7 @@ void BoussinesqFlowProblem<dim>::refine_mesh (const unsigned int max_grid_level)
     for (typename Triangulation<dim>::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<dim, double> soltrans(dof_handler);

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.