From: Wolfgang Bangerth Date: Wed, 18 Aug 2021 22:37:29 +0000 (-0600) Subject: Add a changelog entry. X-Git-Tag: v9.4.0-rc1~1058^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd19b84392a2694466b1451d951f94bbc6d9ea0c;p=dealii.git Add a changelog entry. --- diff --git a/doc/news/changes/minor/20210821Bangerth b/doc/news/changes/minor/20210821Bangerth new file mode 100644 index 0000000000..6cf1b2c935 --- /dev/null +++ b/doc/news/changes/minor/20210821Bangerth @@ -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. +
+(Wolfgang Bangerth, Tyler Anderson, 2021/08/21) +