]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a changelog entry. 16378/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 27 Dec 2023 22:52:53 +0000 (15:52 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 27 Dec 2023 22:52:53 +0000 (15:52 -0700)
doc/news/changes/incompatibilities/20231227Bangerth [new file with mode: 0644]

diff --git a/doc/news/changes/incompatibilities/20231227Bangerth b/doc/news/changes/incompatibilities/20231227Bangerth
new file mode 100644 (file)
index 0000000..10eff20
--- /dev/null
@@ -0,0 +1,16 @@
+Changed: We have always considered PETSc- and Trilinos-based vectors
+that have ghost elements as immutable, i.e., it is possible to read
+elements (including the ghost elements) but not to write into them. On
+the other hand, the `compress()` function available in all vector
+types is meant to communicate values written into non-locally-owned
+vector elements to their proper owners, for example during assembly of
+a right hand side vector. This `compress()` operation clearly only
+makes sense if a vector does not have ghost elements, because only
+then is it possible to write into the vector at all, but this
+restriction was not enforced -- the `compress()` function simply did
+not do anything at all in these cases. This has now changed: Because
+it does not make sense to call `compress()` on vectors that have ghost
+elements, it is now forbidden to call it and this case will be caught
+by an assertion.
+<br>
+(Wolfgang Bangerth, 2023/12/27)

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.