From 99bde87cf2ffa4b811d411f25f4d7490d6613265 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 30 Oct 2006 15:03:15 +0000 Subject: [PATCH] Add another comment. git-svn-id: https://svn.dealii.org/trunk@14125 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-21/step-21.cc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/deal.II/examples/step-21/step-21.cc b/deal.II/examples/step-21/step-21.cc index a06617e83d..0b1ffb6087 100644 --- a/deal.II/examples/step-21/step-21.cc +++ b/deal.II/examples/step-21/step-21.cc @@ -1196,9 +1196,17 @@ void TwoPhaseFlowProblem::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(); -- 2.39.5