]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Reduce the number of cells being refined. Make it compile with gcc 4.1.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Aug 2011 17:37:19 +0000 (17:37 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Aug 2011 17:37:19 +0000 (17:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@24207 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 399f3cfae097217f541ff3c58b757789c0bf4e51..f525d4737a5dea389e37f4a6d860f5c2b10db752 100644 (file)
@@ -886,7 +886,7 @@ class BoussinesqFlowProblem
 {
   public:
     struct Parameters;
-    BoussinesqFlowProblem (BoussinesqFlowProblem<dim>::Parameters & parameters);
+    BoussinesqFlowProblem (Parameters & parameters);
     void run ();
 
   private:
@@ -3704,7 +3704,7 @@ void BoussinesqFlowProblem<dim>::refine_mesh (const unsigned int max_grid_level)
   parallel::distributed::GridRefinement::
     refine_and_coarsen_fixed_fraction (triangulation,
                                       estimated_error_per_cell,
-                                      0.6, 0.1);
+                                      0.3, 0.1);
 
     // for (typename Triangulation<dim>::active_cell_iterator
     //            cell = triangulation.begin_active();

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.