]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #5150 from gassmoeller/add_distributed_refinement_signal
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 24 Oct 2017 15:21:45 +0000 (17:21 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Oct 2017 15:21:45 +0000 (17:21 +0200)
Add distributed refinement/coarsening/serialization signals

1  2 
include/deal.II/grid/tria.h
source/distributed/tria.cc

Simple merge
index 8cbb933658cb317bbcf59c9aa514d738ae932333,7b21633eebb8b2c54e410b0f95f1221730ba57a3..9116acee430534c7bb29e61daa63013cc97c1bd2
@@@ -2784,7 -2873,11 +2792,10 @@@ namespace paralle
              }
          }
  
+       // signal that refinement is going to happen
+       this->signals.pre_distributed_refinement();
        // now do the work we're supposed to do when we are in charge
 -      refinement_in_progress = true;
        this->prepare_coarsening_and_refinement ();
  
        // make sure all flags are cleared on cells we don't own, since nothing
          }
  #endif
  
 -      refinement_in_progress = false;
        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();
      }
  

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.