From e7383334859b42f75891d3714078c2e6a6acfea0 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Sun, 12 Apr 2015 18:53:04 +0200 Subject: [PATCH] Addressed @bangerth issues. --- doc/news/changes.h | 2 +- include/deal.II/grid/grid_generator.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/news/changes.h b/doc/news/changes.h index 8f734286d3..20e28fee41 100644 --- a/doc/news/changes.h +++ b/doc/news/changes.h @@ -430,7 +430,7 @@ inconvenience this causes.
  1. New: The GridGenerator::subdivided_hyper_cube() and GridGenerator::subdivided_hyper_rectangle() now work also for codimension - one and two Triangulation(); + one and two Triangulation;
    (Luca Heltai, 2015/04/12)
  2. diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index f5ec81f9ca..0a71a4ec4e 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -108,6 +108,13 @@ namespace GridGenerator * adds 2i. For instance, the center point (1,-1,1) yields a * material id 5. * + * @note If spacedim>dim the same mesh as in the case spacedim=dim + * is created, but the vertices have all additional coordinates + * equal to the coordinates of p1, i.e., we generate a + * hyper_rectangle parallel to the x-axis (1d), or to the xy-axis + * passing through p1. The additional coordinates of the point p2 + * are ignored by this class in this case. + * * @note The triangulation needs to be void upon calling this function. */ template -- 2.39.5