]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use positive form for comments. 8917/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 16 Oct 2019 19:47:44 +0000 (13:47 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 16 Oct 2019 19:47:44 +0000 (13:47 -0600)
source/grid/tria.cc

index e6fbd034b60f549f808d6d4fdde37c175125d7d0..a2d8abfbc12044d84f7d0169e0a7f2f0deb473b0 100644 (file)
@@ -3166,8 +3166,10 @@ namespace internal
                             ExcInconsistentLineInfoOfLine(line_vertices.first,
                                                           line_vertices.second,
                                                           "boundary ids"));
-                // do not use the boundary id provided in subcell_line
-                // if it is an internal one
+                // If the boundary id provided in subcell_line
+                // is anything other than the default
+                // (internal_face_boundary_id), then set it in the new
+                // triangulation.
                 if (subcell_line.boundary_id !=
                     numbers::internal_face_boundary_id)
                   line->set_boundary_id(subcell_line.boundary_id);
@@ -3320,8 +3322,10 @@ namespace internal
                                                           line[2]->index(),
                                                           line[3]->index(),
                                                           "boundary ids"));
-                // do not use the boundary id provided in subcell_quad
-                // if it is an invalid or internal one
+                // If the boundary id provided in subcell_line
+                // is anything other than the default
+                // (internal_face_boundary_id), then set it in the new
+                // triangulation.
                 if (subcell_quad.boundary_id !=
                     numbers::internal_face_boundary_id)
                   quad->set_boundary_id(subcell_quad.boundary_id);

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.