From: Wolfgang Bangerth Date: Mon, 12 Aug 2019 23:43:37 +0000 (-0600) Subject: Fix a funny comment. X-Git-Tag: v9.2.0-rc1~1254^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8556%2Fhead;p=dealii.git Fix a funny comment. --- diff --git a/source/grid/grid_reordering.cc b/source/grid/grid_reordering.cc index 87d0e8c400..dfff9db7a4 100644 --- a/source/grid/grid_reordering.cc +++ b/source/grid/grid_reordering.cc @@ -1166,12 +1166,9 @@ GridReordering<2>::invert_all_cells_of_negative_grid( ++n_negative_cells; std::swap(cell.vertices[1], cell.vertices[3]); - // check whether the - // resulting cell is now ok. - // if not, then the grid is - // seriously broken and - // should be sticked into the - // bin + // Check whether the resulting cell is now ok. + // If not, then the grid is seriously broken and + // we just give up. for (unsigned int i = 0; i < GeometryInfo<2>::vertices_per_cell; ++i) vertices_lex[GeometryInfo<2>::ucd_to_deal[i]] = cell.vertices[i]; AssertThrow(GridTools::cell_measure<2>(all_vertices, vertices_lex) > @@ -1238,12 +1235,9 @@ GridReordering<3>::invert_all_cells_of_negative_grid( for (unsigned int i = 0; i < 4; ++i) std::swap(cell.vertices[i], cell.vertices[i + 4]); - // check whether the - // resulting cell is now ok. - // if not, then the grid is - // seriously broken and - // should be sticked into the - // bin + // Check whether the resulting cell is now ok. + // If not, then the grid is seriously broken and + // we just give up. for (unsigned int i = 0; i < GeometryInfo<3>::vertices_per_cell; ++i) vertices_lex[GeometryInfo<3>::ucd_to_deal[i]] = cell.vertices[i]; AssertThrow(GridTools::cell_measure<3>(all_vertices, vertices_lex) >