]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-50: correct parallel error estimation; breaks solver
authorTimo Heister <timo.heister@gmail.com>
Mon, 24 Jun 2013 13:50:36 +0000 (13:50 +0000)
committerTimo Heister <timo.heister@gmail.com>
Mon, 24 Jun 2013 13:50:36 +0000 (13:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@29878 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 937e93846b75366e25a81df0f33db8da39c165a8..2cd69d82b54801e213ca13cfc7ad1f93cda7b0b8 100644 (file)
@@ -933,9 +933,10 @@ namespace Step50
                                         typename FunctionMap<dim>::type(),
                                         temp_solution,
                                         estimated_error_per_cell);
-    GridRefinement::refine_and_coarsen_fixed_number (triangulation,
-                                                     estimated_error_per_cell,
-                                                     0.3, 0.03);
+    parallel::distributed::GridRefinement::
+      refine_and_coarsen_fixed_fraction (triangulation,
+                                        estimated_error_per_cell,
+                                        0.3, 0.03);
     triangulation.execute_coarsening_and_refinement ();
   }
 

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.