From: Peter Munch Date: Tue, 22 Feb 2022 13:46:26 +0000 (+0100) Subject: Fix p:d:T::copy_triangulation() X-Git-Tag: v9.4.0-rc1~449^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13434%2Fhead;p=dealii.git Fix p:d:T::copy_triangulation() --- diff --git a/doc/news/changes/minor/20220222Dravins b/doc/news/changes/minor/20220222Dravins new file mode 100644 index 0000000000..2a40062e50 --- /dev/null +++ b/doc/news/changes/minor/20220222Dravins @@ -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. +
+(Ivo Dravins, Peter Munch, 2022/02/22) diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index effa4a068b..051ea1540a 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -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::connectivity