]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Call post_distributed signals in the end of 'execute_coarsening_and_refinement' and... 7776/head
authorMarc Fehling <marc.fehling@gmx.net>
Mon, 4 Mar 2019 21:39:52 +0000 (22:39 +0100)
committerMarc Fehling <marc.fehling@gmx.net>
Mon, 4 Mar 2019 21:39:52 +0000 (22:39 +0100)
source/distributed/tria.cc

index 7541203735c6403b1a1547748d706389cff16761..f814270c31a8e49d0ce50d3b92e198bd30d4e0a1 100644 (file)
@@ -4059,12 +4059,10 @@ namespace parallel
 
       this->update_number_cache();
 
-      // signal that refinement is finished,
-      // this is triggered before update_periodic_face_map
-      // to be consistent with the serial triangulation class
-      this->signals.post_distributed_refinement();
-
       this->update_periodic_face_map();
+
+      // signal that refinement is finished
+      this->signals.post_distributed_refinement();
     }
 
 
@@ -4164,12 +4162,10 @@ namespace parallel
       // update how many cells, edges, etc, we store locally
       this->update_number_cache();
 
-      // signal that repartitioning is finished,
-      // this is triggered before update_periodic_face_map
-      // to be consistent with the serial triangulation class
-      this->signals.post_distributed_repartition();
-
       this->update_periodic_face_map();
+
+      // signal that repartitioning is finished
+      this->signals.post_distributed_repartition();
     }
 
 

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.