]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add changelog for PR fix_petsc_vector_entry_ptr
authorQingyuan Shi <shiqy21@mails.tsinghua.edu.cn>
Fri, 2 Aug 2024 05:59:13 +0000 (13:59 +0800)
committerQingyuan Shi <shiqy21@mails.tsinghua.edu.cn>
Fri, 2 Aug 2024 05:59:13 +0000 (13:59 +0800)
doc/news/changes/minor/20240801Shi [new file with mode: 0644]

diff --git a/doc/news/changes/minor/20240801Shi b/doc/news/changes/minor/20240801Shi
new file mode 100644 (file)
index 0000000..4e37712
--- /dev/null
@@ -0,0 +1,6 @@
+Fix: Corrected pointer iteration range in VectorBase::mean_value()
+and VectorBase::lp_norm() in PETScWrappers namespace to proper handle
+distributed PETSc vectors. Now pointers obtained via VecGetArrayRead()
+iterate only over locally_owned_size(), and results are correctly
+aggregated across processes.
+(Qingyuan Shi, 2024/08/01)
\ No newline at end of file

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.