From 8c9bcea0ebcc286c83bbf858327e7fdc03ca07ef Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 10 Aug 2017 14:10:35 -0400 Subject: [PATCH] Fix a wrong comment. we can still do things if we are on the boundary. --- source/grid/grid_tools.cc | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) 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()); -- 2.39.5