]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Correcting doc of FETools::extrapolate and adding contribution statement
authorGuilhem Poy <guilhem.poy@umontpellier.fr>
Thu, 8 May 2025 06:50:02 +0000 (08:50 +0200)
committerGuilhem Poy <guilhem.poy@umontpellier.fr>
Thu, 8 May 2025 06:50:02 +0000 (08:50 +0200)
doc/news/changes/minor/20250508Poy [new file with mode: 0644]
include/deal.II/fe/fe_tools.h

diff --git a/doc/news/changes/minor/20250508Poy b/doc/news/changes/minor/20250508Poy
new file mode 100644 (file)
index 0000000..92629ae
--- /dev/null
@@ -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.
+<br>
+(Guilhem Poy, 2025/05/08)
index 69ed37fe1c4b5a6bbaaa458efea42f5c3aae2a39..99edb71658838e2c536f8ccae8636898afb55751 100644 (file)
@@ -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

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.