]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix assert on distributed tria 17973/head
authorMarco Feder <marco.feder@sissa.it>
Sat, 4 Jan 2025 23:16:55 +0000 (23:16 +0000)
committerMarco Feder <marco.feder@sissa.it>
Sat, 4 Jan 2025 23:16:55 +0000 (23:16 +0000)
source/non_matching/coupling.cc

index 33887b681cdec34da3d9969ab89de8492e7258aa..8a1e65c6a3b69d040ebefb61ef7fba6578d584d9 100644 (file)
@@ -221,7 +221,7 @@ namespace NonMatching
            ExcNotImplemented());
 
     const bool tria_is_parallel =
-      (dynamic_cast<const parallel::TriangulationBase<dim1, spacedim> *>(
+      (dynamic_cast<const parallel::TriangulationBase<dim0, spacedim> *>(
          &space_dh.get_triangulation()) != nullptr);
     const auto &space_fe    = space_dh.get_fe();
     const auto &immersed_fe = immersed_dh.get_fe();
@@ -411,7 +411,7 @@ namespace NonMatching
            ExcNotImplemented());
 
     const bool tria_is_parallel =
-      (dynamic_cast<const parallel::TriangulationBase<dim1, spacedim> *>(
+      (dynamic_cast<const parallel::TriangulationBase<dim0, spacedim> *>(
          &space_dh.get_triangulation()) != nullptr);
 
     const auto &space_fe    = space_dh.get_fe();

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.