From: David Wells Date: Thu, 10 Aug 2017 18:10:35 +0000 (-0400) Subject: Fix a wrong comment. X-Git-Tag: v9.0.0-rc1~974^2~9 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c9bcea0ebcc286c83bbf858327e7fdc03ca07ef;p=dealii.git Fix a wrong comment. we can still do things if we are on the boundary. --- diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index c469d0e734..2437f006a0 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -3464,31 +3464,14 @@ next_cell: std::integral_constant, std::integral_constant) { - // 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::faces_per_cell; ++f) { Assert (cell->face(f)->has_children(), ExcInternalError());