]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove debug output, make time step closer to the limit.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Oct 2007 21:14:15 +0000 (21:14 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Oct 2007 21:14:15 +0000 (21:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@15343 0785d39b-7218-0410-832d-ea1e28bc413d

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

index f9849319808719e859562df12779ed787f4b83c4..12e0d3f5b48a375400f993b696e3a8a919f5a672 100644 (file)
@@ -787,7 +787,7 @@ void BoussinesqFlowProblem<dim>::solve ()
   }
 
   time_step = GridTools::minimal_cell_diameter(triangulation) /
-              get_maximal_velocity() / 10;
+              get_maximal_velocity() / 2;
 
   assemble_rhs_T ();
   {
@@ -889,8 +889,6 @@ BoussinesqFlowProblem<dim>::get_maximal_velocity () const
                                    velocity.norm());
         }
     }
-
-  std::cout << "Maximal velocity=" << max_velocity << std::endl;
   
   return max_velocity;
 }
@@ -940,7 +938,7 @@ void BoussinesqFlowProblem<dim>::run ()
 
       std::cout << std::endl;
     }
-  while (time <= 40);
+  while (time <= 500);
 }
 
     

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.