From bc1c844c4d2df2369615fbd76d37231ecbc6fa93 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Wed, 24 Feb 2021 11:17:34 -0700 Subject: [PATCH] Attach DoFHandler::clear() to Triangulation::Signals::clear. --- source/dofs/dof_handler.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/dofs/dof_handler.cc b/source/dofs/dof_handler.cc index 6abec40208..154ec7b8ef 100644 --- a/source/dofs/dof_handler.cc +++ b/source/dofs/dof_handler.cc @@ -3044,6 +3044,8 @@ DoFHandler::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 -- 2.39.5