From fd19b84392a2694466b1451d951f94bbc6d9ea0c Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 18 Aug 2021 16:37:29 -0600 Subject: [PATCH] Add a changelog entry. --- doc/news/changes/minor/20210821Bangerth | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/news/changes/minor/20210821Bangerth 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) + -- 2.39.5