]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also allow FE_RaviartThomasNodal in other project function 13978/head
authorMartin Kronbichler <martin.kronbichler@uni-a.de>
Wed, 15 Jun 2022 10:45:04 +0000 (12:45 +0200)
committerMartin Kronbichler <martin.kronbichler@uni-a.de>
Wed, 15 Jun 2022 11:10:58 +0000 (13:10 +0200)
include/deal.II/numerics/vector_tools_boundary.templates.h

index 58e7d964fa4b49cb841ee2e722dbb973a9d9ec01..ad0a9b9700d0dfa86d90d4d35c706e8f5d6f3bed 100644 (file)
@@ -2599,7 +2599,9 @@ namespace VectorTools
                         {
                           AssertThrow(
                             dynamic_cast<const FE_RaviartThomas<dim> *>(
-                              &cell->get_fe()) != nullptr,
+                              &cell->get_fe()) != nullptr ||
+                              dynamic_cast<const FE_RaviartThomasNodal<dim> *>(
+                                &cell->get_fe()) != nullptr,
                             typename FiniteElement<
                               dim>::ExcInterpolationNotImplemented());
                         }
@@ -2651,7 +2653,9 @@ namespace VectorTools
                         {
                           AssertThrow(
                             dynamic_cast<const FE_RaviartThomas<dim> *>(
-                              &cell->get_fe()) != nullptr,
+                              &cell->get_fe()) != nullptr ||
+                              dynamic_cast<const FE_RaviartThomasNodal<dim> *>(
+                                &cell->get_fe()) != nullptr,
                             typename FiniteElement<
                               dim>::ExcInterpolationNotImplemented());
                         }

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.