]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add another comment.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Oct 2006 15:03:15 +0000 (15:03 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Oct 2006 15:03:15 +0000 (15:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@14125 0785d39b-7218-0410-832d-ea1e28bc413d

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

index a06617e83dba72bca3d2cf164cc877043fc1de65..0b1ffb6087b04c1a141ede64f312b12dfc95f8a4 100644 (file)
@@ -1196,9 +1196,17 @@ void TwoPhaseFlowProblem<dim>::solve ()
                                    // cells quite easily (in fact we use the
                                    // linear extensions in coordinate
                                    // directions of the cells, not the
-                                   // diameter). The maximal velocity we
-                                   // compute using a helper function defined
-                                   // below:
+                                   // diameter). Note that we will learn a
+                                   // more general way to do this in step-24,
+                                   // where we use the
+                                   // GridTools::minimal_cell_diameter
+                                   // function.
+                                  //
+                                  // The maximal velocity we compute using a
+                                   // helper function to compute the maximal
+                                   // velocity defined below, and with all
+                                   // this we can evaluate our new time step
+                                   // length:
   time_step = std::pow(0.5, double(n_refinement_steps)) /
               get_maximal_velocity();
 

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.