]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Attach DoFHandler::clear() to Triangulation::Signals::clear. 11801/head
authorMarc Fehling <mafehling.git@gmail.com>
Wed, 24 Feb 2021 18:17:34 +0000 (11:17 -0700)
committerMarc Fehling <mafehling.git@gmail.com>
Wed, 24 Feb 2021 22:53:28 +0000 (15:53 -0700)
source/dofs/dof_handler.cc

index 6abec402085590be61589de92c94c7f91bf56a0d..154ec7b8efafb885963ef97bfbed5d6aa6438c35 100644 (file)
@@ -3044,6 +3044,8 @@ DoFHandler<dim, spacedim>::connect_to_triangulation_signals()
   // connect functions to signals of the underlying triangulation
   this->tria_listeners.push_back(this->tria->signals.create.connect(
     [this]() { this->reinit(*(this->tria)); }));
+  this->tria_listeners.push_back(
+    this->tria->signals.clear.connect([this]() { this->clear(); }));
 
   // attach corresponding callback functions dealing with the transfer of
   // active FE indices depending on the type of triangulation

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.