]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-7: update text
authorMatthias Maier <tamiko@43-1.org>
Sun, 16 Sep 2018 18:27:43 +0000 (13:27 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 19 Sep 2018 19:03:19 +0000 (14:03 -0500)
examples/step-7/step-7.cc

index 19fc34015fcf2dd5c4b7d9a75994fc858f8561f3..38a9c11d948adff1ab21862a62efad6f06dd9fe9 100644 (file)
@@ -92,9 +92,8 @@ namespace Step7
   // introduction, we choose a sum of three exponentials) and right hand side,
   // are these: the number of exponentials, their centers, and their half
   // width. We declare them in the following class. Since the number of
-  // exponentials is a constant scalar integral quantity, C++ allows its
-  // definition (i.e. assigning a value) right at the place of declaration
-  // (i.e. where we declare that such a variable exists).
+  // exponentials is a compile-time constant we use a fixed-length
+  // <code>std::array</code> to store the center points:
   template <int dim>
   class SolutionBase
   {

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.