]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a changelog entry.
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 18 Aug 2021 22:37:29 +0000 (16:37 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 18 Aug 2021 23:21:14 +0000 (17:21 -0600)
doc/news/changes/minor/20210821Bangerth [new file with mode: 0644]

diff --git a/doc/news/changes/minor/20210821Bangerth b/doc/news/changes/minor/20210821Bangerth
new file mode 100644 (file)
index 0000000..6cf1b2c
--- /dev/null
@@ -0,0 +1,16 @@
+Changed: For 1d cells, the following code did not compile:
+@code
+    for (const auto &face : cell->face_iterators())
+      if (face->at_boundary())
+        {
+          face->set_boundary_id(1);
+        }
+@endcode
+That was because, unlike in the 2d and 3d case, the class that
+describes the faces of 1d cells had a `set_boundary_id()` function
+that was not marked as `const`. This has now been fixed by adding the
+`const` specification for this function, along with the one on the
+`set_all_boundary_ids()` function.
+<br>
+(Wolfgang Bangerth, Tyler Anderson, 2021/08/21)
+

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.