From: Marc Fehling Date: Wed, 24 Feb 2021 18:17:34 +0000 (-0700) Subject: Attach DoFHandler::clear() to Triangulation::Signals::clear. X-Git-Tag: v9.3.0-rc1~417^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11801%2Fhead;p=dealii.git Attach DoFHandler::clear() to Triangulation::Signals::clear. --- 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