]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Generalize an if-statement for distributed triangulation 8724/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 10 Sep 2019 05:03:45 +0000 (07:03 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 10 Sep 2019 05:47:39 +0000 (07:47 +0200)
source/dofs/dof_handler.cc

index ae5c415019e81a8b81c14a15a1bb6a6d94f27c57..fa71a6a1fce6d5a609a87c71c8c7a56cdce372a6 100644 (file)
@@ -1293,7 +1293,7 @@ DoFHandler<dim, spacedim>::distribute_mg_dofs()
   // only if this is a sequential
   // triangulation. it doesn't work
   // correctly yet if it is parallel
-  if (dynamic_cast<const parallel::distributed::Triangulation<dim, spacedim> *>(
+  if (dynamic_cast<const parallel::TriangulationBase<dim, spacedim> *>(
         &*tria) == nullptr)
     block_info_object.initialize(*this, true, false);
 }

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.