]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix p:d:T::copy_triangulation() 13434/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 22 Feb 2022 13:46:26 +0000 (14:46 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 22 Feb 2022 13:47:12 +0000 (14:47 +0100)
doc/news/changes/minor/20220222Dravins [new file with mode: 0644]
source/distributed/tria.cc

diff --git a/doc/news/changes/minor/20220222Dravins b/doc/news/changes/minor/20220222Dravins
new file mode 100644 (file)
index 0000000..2a40062
--- /dev/null
@@ -0,0 +1,7 @@
+Fixed: The function parallel::distributed::copy_triangulation() used to
+copy the reference to the attached SolutionTransfer instance, which resulted
+in calling the same SolutionTransfer instance multiple times if the 
+triangulation and the new triangulation are refined/coarsened independently.
+This has been fixed. 
+<br>
+(Ivo Dravins, Peter Munch, 2022/02/22)
index effa4a068b6615f9a24d74f533c282ecf0530a9e..051ea1540a48f2efda6b3cba4b90b8eb0cc18aea 100644 (file)
@@ -3953,8 +3953,6 @@ namespace parallel
             other_distributed->coarse_cell_to_p4est_tree_permutation;
           p4est_tree_to_coarse_cell_permutation =
             other_distributed->p4est_tree_to_coarse_cell_permutation;
-          this->cell_attached_data = other_distributed->cell_attached_data;
-          this->data_transfer      = other_distributed->data_transfer;
 
           // create deep copy of connectivity graph
           typename dealii::internal::p4est::types<dim>::connectivity

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.