From: Nicola Demo Date: Tue, 22 Mar 2016 22:53:44 +0000 (+0100) Subject: Clean X-Git-Tag: v8.5.0-rc1~1181^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8af31aac616fae7877f1e63dbee4150600d859c0;p=dealii.git Clean --- diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index bc5e368afd..93c4075f93 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -572,11 +572,11 @@ namespace GridGenerator * Initialize the given triangulation with a hyper-L (in 2d or 3d) * consisting of exactly 2^dim-1 cells. It produces the hypercube * with the interval [left,right] without the hypercube made out of - * the interval [(left+right)/2,right] for each coordinate. If the + * the interval [(left+right)/2,right] for each coordinate. If the * @p colorize flag is set, the @p boundary_ids of the surfaces are * assigned, such that the left boundary is 0, and the others are set with - * growing number accordingly to the counterclockwise. This function will - * create the classical L-shape in 2d and it will look like the following + * growing number accordingly to the counterclockwise. This function will + * create the classical L-shape in 2d and it will look like the following * in 3d: * * @image html hyper_l.png diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 429f5c8613..f74d6f98b3 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -350,8 +350,7 @@ namespace GridGenerator p1(i) = std::min(p_1(i), p_2(i)); p2(i) = std::max(p_1(i), p_2(i)); } - //for (typename Triangulation<1,spacedim>::cell_iterator cell = tria.begin(); - // cell != tria.end(); ++cell) + // std::vector > vertices (GeometryInfo::vertices_per_cell); switch (dim) @@ -2116,7 +2115,7 @@ namespace GridGenerator if (colorize) { auto cell = tria.begin(); - + cell->face(0)->set_boundary_id(0); cell->face(2)->set_boundary_id(1); cell++; @@ -2795,7 +2794,7 @@ namespace GridGenerator if (colorize) { Assert (false, ExcNotImplemented()); - } + } }