]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Allow FE_NedelecSZ to be used in FETools::get_fe_by_name 10610/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 26 Jun 2020 13:25:51 +0000 (09:25 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 26 Jun 2020 13:28:36 +0000 (09:28 -0400)
include/deal.II/fe/fe_tools.templates.h
source/fe/fe_nedelec_sz.inst.in
tests/fe/get_fe_by_name_01.cc
tests/fe/get_fe_by_name_01.output

index 784a5c9d663a164b48854cb1bd24fe155c2af3b9..c01b81eaa963c59bf46bba53150c4639349b2968 100644 (file)
@@ -40,6 +40,7 @@
 #include <deal.II/fe/fe_dgq.h>
 #include <deal.II/fe/fe_face.h>
 #include <deal.II/fe/fe_nedelec.h>
+#include <deal.II/fe/fe_nedelec_sz.h>
 #include <deal.II/fe/fe_nothing.h>
 #include <deal.II/fe/fe_q.h>
 #include <deal.II/fe/fe_q_bubbles.h>
@@ -1174,6 +1175,8 @@ namespace FETools
           std::make_unique<FETools::FEFactory<FE_RT_Bubbles<dim>>>();
         result["FE_Nedelec"] =
           std::make_unique<FETools::FEFactory<FE_Nedelec<dim>>>();
+        result["FE_NedelecSZ"] =
+          std::make_unique<FETools::FEFactory<FE_NedelecSZ<dim>>>();
         result["FE_DGPNonparametric"] =
           std::make_unique<FETools::FEFactory<FE_DGPNonparametric<dim>>>();
         result["FE_DGP"] = std::make_unique<FETools::FEFactory<FE_DGP<dim>>>();
index 9d344ecc7c9b6e03d9519a0ffb41cb2548196938..0176ab9851413a1b777b7b4fda624e7a1e0ba851 100644 (file)
@@ -17,7 +17,5 @@
 
 for (deal_II_dimension : DIMENSIONS)
   {
-#if deal_II_dimension != 1
     template class FE_NedelecSZ<deal_II_dimension>;
-#endif
   }
index f728cdcba4a4c6f0c41ef9c077355f4e617da343..c7d071e6ec7e8b3aa85cf0f6371d9529a860bf0f 100644 (file)
@@ -87,6 +87,8 @@ main()
   gen.generate<3, 3>("FE_RaviartThomasNodal(1)");
   gen.generate<2, 2>("FE_Nedelec(1)");
   gen.generate<3, 3>("FE_Nedelec(1)");
+  gen.generate<2, 2>("FE_NedelecSZ(1)");
+  gen.generate<3, 3>("FE_NedelecSZ(1)");
   gen.generate_all_dim("FE_DGPNonparametric(1)");
   gen.generate_all_dim("FE_DGPMonomial(1)");
   gen.generate_all_dim("FE_FaceQ(1)");
@@ -109,6 +111,8 @@ main()
   gen.generate<3, 3>("FE_RaviartThomasNodal(2)");
   gen.generate<2, 2>("FE_Nedelec(2)");
   gen.generate<3, 3>("FE_Nedelec(2)");
+  gen.generate<2, 2>("FE_NedelecSZ(2)");
+  gen.generate<3, 3>("FE_NedelecSZ(2)");
   gen.generate_all_dim("FE_DGPNonparametric(2)");
   gen.generate_all_dim("FE_DGPMonomial(2)");
   gen.generate_all_dim("FE_FaceQ(2)");
index 8bb30049ca42de7187daea72ea1d1ed7cf9fdb15..096155d2c03bdb8927e6d98c20343024c80ad944 100644 (file)
@@ -53,6 +53,12 @@ DEAL::FE_Nedelec<2>(1)
 DEAL::Read FE_Nedelec(1)
 DEAL::Generated :
 DEAL::FE_Nedelec<3>(1)
+DEAL::Read FE_NedelecSZ(1)
+DEAL::Generated :
+DEAL::FE_NedelecSZ<2>(1)
+DEAL::Read FE_NedelecSZ(1)
+DEAL::Generated :
+DEAL::FE_NedelecSZ<3>(1)
 DEAL::Read FE_DGPNonparametric(1)
 DEAL::Generated :
 DEAL::FE_DGPNonparametric<1>(1)
@@ -146,6 +152,12 @@ DEAL::FE_Nedelec<2>(2)
 DEAL::Read FE_Nedelec(2)
 DEAL::Generated :
 DEAL::FE_Nedelec<3>(2)
+DEAL::Read FE_NedelecSZ(2)
+DEAL::Generated :
+DEAL::FE_NedelecSZ<2>(2)
+DEAL::Read FE_NedelecSZ(2)
+DEAL::Generated :
+DEAL::FE_NedelecSZ<3>(2)
 DEAL::Read FE_DGPNonparametric(2)
 DEAL::Generated :
 DEAL::FE_DGPNonparametric<1>(2)

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.