]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid ending comments with a backslash. 771/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 11 Apr 2015 12:11:36 +0000 (07:11 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 11 Apr 2015 12:11:36 +0000 (07:11 -0500)
The compiler interprets this as a continuation line and issues a warning.
The warning is of no consequence in this particular case, but let's try
to avoid this here.

source/fe/fe_q_hierarchical.cc

index 1f570df7bf0b1a5ad4f543cafccaa3063c0906e6..d4a4017ee20296e4beb5b57a30ccb5a813baf3e1 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2002 - 2014 by the deal.II authors
+// Copyright (C) 2002 - 2015 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -391,40 +391,40 @@ FE_Q_Hierarchical<dim>::build_dofs_cell (std::vector<FullMatrix<double> > &dofs_
   // use these matrices.
 
   // dofs_cells[0](j,k):
-  //    0  1 |  2  3  4
-  // 0  1  0 |
-  // 1  0  0 |
+  //    0  1 |  2  3  4.
+  // 0  1  0 |         .
+  // 1  0  0 |         .
   // -------------------
-  // 2          \
+  // 2          \      .
   // 3            \  2^k * k! / (k-j)!j!
-  // 4               \
+  // 4               \ .
 
   // dofs_subcells[0](j,k):
-  //    0    1   |  2  3   4  5  6
-  // 0  1    0   |
-  // 1  1/2  1/2 | -1  0  -1  0  -1
+  //    0    1   |  2  3   4  5  6 .
+  // 0  1    0   |                 .
+  // 1  1/2  1/2 | -1  0  -1  0  -1.
   // -------------------------------
-  // 2              \
+  // 2              \              .
   // 3                 \     (-1)^(k+j)/ 2^k * k!/(k-j)!j!
-  // 4                     \
+  // 4                     \       .
 
   // dofs_cells[1](j,k):
-  //    0  1 |  2  3  4
-  // 0  0  0 |
-  // 1  0  1 |
-  // ------------------
-  // 2          \
-  // 3             \      (-1)^(k+j) * 2^k * k!/(k-j)!j!
-  // 4                \
+  //    0  1 |  2  3  4.
+  // 0  0  0 |         .
+  // 1  0  1 |         .
+  // -------------------
+  // 2          \      .
+  // 3             \   (-1)^(k+j) * 2^k * k!/(k-j)!j!
+  // 4                \.
 
   // dofs_subcells[1](j,k):
-  //    0    1   |  2  3   4  5  6
-  // 0  1/2  1/2 | -1  0  -1  0  -1
-  // 1  0    1   |
+  //    0    1   |  2  3   4  5  6 .
+  // 0  1/2  1/2 | -1  0  -1  0  -1.
+  // 1  0    1   |                 .
   // -------------------------------
-  // 2              \
+  // 2              \              .
   // 3                 \      1/ 2^k * k!/(k-j)!j!
-  // 4
+  // 4                             .
 
   for (unsigned int c=0; c<GeometryInfo<1>::max_children_per_cell; ++c)
     for (unsigned int j=0; j<dofs_1d; ++j)

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.