From: Wolfgang Bangerth Date: Tue, 28 Jul 2015 17:00:46 +0000 (-0500) Subject: Stylistic updates. X-Git-Tag: v8.4.0-rc2~710^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a034c72db08d3a11857e5e8b21d2341bb63768d3;p=dealii.git Stylistic updates. --- diff --git a/examples/step-10/step-10.cc b/examples/step-10/step-10.cc index b12b00a13b..06e31a81a3 100644 --- a/examples/step-10/step-10.cc +++ b/examples/step-10/step-10.cc @@ -67,7 +67,7 @@ namespace Step10 // will only use them for two space dimensions. // // The first of these functions just generates a triangulation of a circle - // (hyperball) and outputs the Qp mapping of its cells for different values + // (hyperball) and outputs the $Q_p$ mapping of its cells for different values // of p. Then, we refine the grid once and do so again. template void gnuplot_output() @@ -107,7 +107,7 @@ namespace Step10 std::string filename_base = "ball"; filename_base += '0'+refinement; - // Then output the present grid for Q1, Q2, and Q3 mappings: + // Then output the present grid for $Q_1$, $Q_2$, and $Q_3$ mappings: for (unsigned int degree=1; degree<4; ++degree) { std::cout << "Degree = " << degree << std::endl; @@ -293,7 +293,7 @@ namespace Step10 fe_values.reinit (cell); for (unsigned int i=0; i (area)); table.add_value("error", static_cast (std::fabs(area-pi))); - }; + } // We want to compute the convergence rates of the `error' // column. Therefore we need to omit the other columns from the @@ -325,7 +325,7 @@ namespace Step10 table.write_text(std::cout); std::cout << std::endl; - }; + } } @@ -392,11 +392,11 @@ namespace Step10 fe_face_values.reinit (cell, face_no); for (unsigned int i=0; i (perimeter/2.)); table.add_value("error", static_cast (std::fabs(perimeter/2.-pi))); - }; + } // ...and end this function as we did in the previous one: table.omit_column_from_convergence_rate_evaluation("cells"); @@ -409,7 +409,7 @@ namespace Step10 table.write_text(std::cout); std::cout << std::endl; - }; + } } }