]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Reset to the same testcase as in step-31 so we can compare.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 28 Jan 2009 23:54:13 +0000 (23:54 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 28 Jan 2009 23:54:13 +0000 (23:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@18308 0785d39b-7218-0410-832d-ea1e28bc413d

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

index e6a6c9c47c48e4d08c4368c407d2211029ec950f..7c2e42c43a75328527fe9b534bd18dceb28119ae 100644 (file)
@@ -1307,7 +1307,7 @@ void BoussinesqFlowProblem<dim>::solve ()
   computing_timer.enter_section ("   Assemble temperature rhs");
 
   old_time_step = time_step;    
-  time_step = 1./(1.9*dim*std::sqrt(1.*dim)) /
+  time_step = 1./(1.6*dim*std::sqrt(1.*dim)) /
              temperature_degree *
              GridTools::minimal_cell_diameter(triangulation) /
               std::max (get_maximal_velocity(), 0.01);
@@ -1522,7 +1522,7 @@ 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 ? 3 : 2);
+  const unsigned int initial_refinement = (dim == 2 ? 4 : 2);
   const unsigned int n_pre_refinement_steps = (dim == 2 ? 4 : 3);
 
   //GridGenerator::half_hyper_shell (triangulation,
@@ -1662,7 +1662,7 @@ int main (int argc, char *argv[])
       
       Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv);
 
-      BoussinesqFlowProblem<3> flow_problem;
+      BoussinesqFlowProblem<2> flow_problem;
       flow_problem.run ();
     }
   catch (std::exception &exc)

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.