From 7c7e39442d22fd4adaa9b98356a6887415b5b22f Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 15 Jun 2022 12:45:04 +0200 Subject: [PATCH] Also allow FE_RaviartThomasNodal in other project function --- .../deal.II/numerics/vector_tools_boundary.templates.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/deal.II/numerics/vector_tools_boundary.templates.h b/include/deal.II/numerics/vector_tools_boundary.templates.h index 58e7d964fa..ad0a9b9700 100644 --- a/include/deal.II/numerics/vector_tools_boundary.templates.h +++ b/include/deal.II/numerics/vector_tools_boundary.templates.h @@ -2599,7 +2599,9 @@ namespace VectorTools { AssertThrow( dynamic_cast *>( - &cell->get_fe()) != nullptr, + &cell->get_fe()) != nullptr || + dynamic_cast *>( + &cell->get_fe()) != nullptr, typename FiniteElement< dim>::ExcInterpolationNotImplemented()); } @@ -2651,7 +2653,9 @@ namespace VectorTools { AssertThrow( dynamic_cast *>( - &cell->get_fe()) != nullptr, + &cell->get_fe()) != nullptr || + dynamic_cast *>( + &cell->get_fe()) != nullptr, typename FiniteElement< dim>::ExcInterpolationNotImplemented()); } -- 2.39.5