]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Changelog, doc and test cleanup 18614/head
authorSascha Hofstetter <hofssasc@gmail.com>
Sun, 6 Jul 2025 18:14:25 +0000 (20:14 +0200)
committerSascha Hofstetter <hofssasc@gmail.com>
Sun, 6 Jul 2025 18:14:25 +0000 (20:14 +0200)
doc/news/changes/minor/20250701Hofstetter
doc/news/changes/minor/20250706Hofstetter
include/deal.II/grid/grid_tools_topology.h
tests/grid/grid_tools_extract_ordered_boundary_vertices.cc

index 8441c69120253530bce6cb9b8b91809a9d511203..7bbd4dabac86dac428820fd1f25fcd001484b0cf 100644 (file)
@@ -1,6 +1,7 @@
 New: Implementation of CGAL functionalities for 2D.
-Convert a dealii cell to a CGAL::Polygon_2
-Convert a dealii triangulation to a CGAL::Polygon_2
-Perform boolean operation on two CGAL::Polygon_2
+They allow to convert a dealii cell or a
+dealii triangulation to CGAL::Polygon_with_holes_2.
+Moreover, boolean operations can be performed
+on two CGAL::Polygon_with_holes_2.
 <br>
 (Sascha Hofstetter, 2025/07/01)
index ff2f48033d73353168f7b0bf917f9215fc630fb2..430777ca08c9216c3ecd6bc3d988488dcbcf93e5 100644 (file)
@@ -1,6 +1,8 @@
 New: GridTools::extract_ordered_boundary_vertices.
-The function returns a vector with all closed boundaries.
-Each closed boundary is a vector with vertices.
+The function returns a vector with all closed
+boundaries of a triangulation. Each closed boundary
+is represented as a vector with vertex indices and
+coordinates (as a pair).
 The outer boundary is ordered counter clockwise,
 inner boundaries are ordered clockwise.
 <br>
index a47534ef11680f20118e2736efe3160d5d937600..5732c49e4aeb5e39ad132be6a3fe6e15c313f84c 100644 (file)
@@ -193,8 +193,8 @@ namespace GridTools
    * The vertices are in clockwise ordering for inner boundaries (holes).
    *
    * It is generally not guaranteed that the first entry of the vector is the
-   * outer boundary. However, when cell 0 is located on the outer boundary it is
-   * the case.
+   * outer boundary. However, when cell 0 is located on the outer boundary this
+   * is the case.
    *
    * The mapping argument enables the use of e.g. MappingQEulerian.
    *
index 181f39b465b2b02064d46e2bc96ef9c20509a638..66946e6b3deb21aa1b658d3e207b19b9cd59c230 100644 (file)
@@ -40,10 +40,8 @@ test()
                     {"channel_with_cylinder", "0.03 : 2 : 2.0 : false"},
                     {"cheese", "2 , 2"}};
 
-  for (const auto &info_pair : names_and_args)
+  for (const auto &[name, args] : names_and_args)
     {
-      auto name = info_pair.first;
-      auto args = info_pair.second;
       deallog << "Name: " << name << std::endl;
       GridGenerator::generate_from_name_and_arguments(tria_in, name, args);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.