From 6cb549fd19141adf10dfc337f132d660d8fe9097 Mon Sep 17 00:00:00 2001 From: Guilhem Poy Date: Thu, 8 May 2025 08:50:02 +0200 Subject: [PATCH] Correcting doc of FETools::extrapolate and adding contribution statement --- doc/news/changes/minor/20250508Poy | 6 ++++++ include/deal.II/fe/fe_tools.h | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 doc/news/changes/minor/20250508Poy diff --git a/doc/news/changes/minor/20250508Poy b/doc/news/changes/minor/20250508Poy new file mode 100644 index 0000000000..92629ae12c --- /dev/null +++ b/doc/news/changes/minor/20250508Poy @@ -0,0 +1,6 @@ +Fixed: FETools::extrapolate previously failed to correctly compress ghost values on +MPI simulations with distributed triangulation and LinearAlgebra::distributed +vectors, due to the different behaviours of the compress(insert) operation on +Petsc/Trilinos and LinearAlgebra::distributed vectors. This is now fixed. +
+(Guilhem Poy, 2025/05/08) diff --git a/include/deal.II/fe/fe_tools.h b/include/deal.II/fe/fe_tools.h index 69ed37fe1c..99edb71658 100644 --- a/include/deal.II/fe/fe_tools.h +++ b/include/deal.II/fe/fe_tools.h @@ -842,12 +842,8 @@ namespace FETools * treated patches if the mesh had been refined adaptively (this cannot * happen if the mesh has been refined globally because there the children * of a patch are all active). We also perform the operation described above - * on these patches, but it is easy to see that on patches that are children - * of previously treated patches, the operation is now the identity operation - * (since it interpolates from the children of the current patch a function - * that had previously been interpolated to these children from an even - * coarser patch). Consequently, this does not alter the solution vector any - * more. + * on these patches, which means that the final DoF values will always originate + * from the most refined patches. * * The name of the function originates from the fact that it can be used to * construct a representation of a function of higher polynomial degree on a -- 2.39.5