From 161e5f9ad29a684de356921fc5bc7dfe9ac6c3b0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 20 Aug 2021 14:58:10 -0600 Subject: [PATCH] Add a changelog entry. --- .../changes/incompatibilities/20210819Bangerth | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/news/changes/incompatibilities/20210819Bangerth diff --git a/doc/news/changes/incompatibilities/20210819Bangerth b/doc/news/changes/incompatibilities/20210819Bangerth new file mode 100644 index 0000000000..3021b94814 --- /dev/null +++ b/doc/news/changes/incompatibilities/20210819Bangerth @@ -0,0 +1,14 @@ +Deprecated: The Tensor and SymmetricTensor classes had functions +`begin_raw()` and `end_raw()` that suggested that the elements of +these objects are stored in arrays and consequently could be accessed +consecutively through iterators. While they are indeed stored +contiguously in memory, they are not part of an array and, as a +consequence, C++ does not actually allow this kind of access. The +functions have therefore been deprecated and will be removed in due +time. +
+As a consequence, the `make_array_view()` functions that allow turning +a Tensor or SymmetricTensor into an ArrayView object have now also +been deprecated. +
+(Wolfgang Bangerth, 2021/08/19) -- 2.39.5