]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix numbers for 3d.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Aug 2008 15:59:43 +0000 (15:59 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Aug 2008 15:59:43 +0000 (15:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@16663 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 326c601d95d2eedf287609a2b88195146005a19b..f2303a474302a0dfb83e0e432f608c05c30e363e 100644 (file)
@@ -2088,8 +2088,8 @@ void BoussinesqFlowProblem<dim>::refine_mesh (const unsigned int max_grid_level)
 template <int dim>
 void BoussinesqFlowProblem<dim>::run ()
 {
-  const unsigned int initial_refinement = (dim == 2 ? 4 : 3);
-  const unsigned int n_pre_refinement_steps = 4;
+  const unsigned int initial_refinement = (dim == 2 ? 4 : 2);
+  const unsigned int n_pre_refinement_steps = (dim == 2 ? 4 : 3);
 
   
   GridGenerator::hyper_cube (triangulation);

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.