]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a wrong comment.
authorDavid Wells <wellsd2@rpi.edu>
Thu, 10 Aug 2017 18:10:35 +0000 (14:10 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 8 Oct 2017 23:22:35 +0000 (19:22 -0400)
we can still do things if we are on the boundary.

source/grid/grid_tools.cc

index c469d0e734e2c34211d54838c2f5f276ff6a42c7..2437f006a04ebb18b1eec7f3b5c64bae852c38db 100644 (file)
@@ -3464,31 +3464,14 @@ next_cell:
                          std::integral_constant<int, dim>,
                          std::integral_constant<int, spacedim>)
       {
-        // see if we first can fix up
-        // some of the faces of this
-        // object. we can mess with
-        // faces if and only if it is
-        // not at the boundary (since
-        // otherwise the location of
-        // the face mid-point has been
-        // determined by the boundary
-        // object) and if the
-        // neighboring cell is not even
-        // more refined than we are
-        // (since in that case the
-        // sub-faces have themselves
-        // children that we can't move
-        // around any more). however,
-        // the latter case shouldn't
-        // happen anyway: if the
-        // current face is distorted
-        // but the neighbor is even
-        // more refined, then the face
-        // had been deformed before
-        // already, and had been
-        // ignored at the time; we
-        // should then also be able to
-        // ignore it this time as well
+        // see if we first can fix up some of the faces of this object. We can
+        // mess with faces if and only if the neighboring cell is not even
+        // more refined than we are (since in that case the sub-faces have
+        // themselves children that we can't move around any more). however,
+        // the latter case shouldn't happen anyway: if the current face is
+        // distorted but the neighbor is even more refined, then the face had
+        // been deformed before already, and had been ignored at the time; we
+        // should then also be able to ignore it this time as well
         for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell; ++f)
           {
             Assert (cell->face(f)->has_children(), ExcInternalError());

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.