]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Test of get_fe_from_name for FE_Q with Gauss-Lobatto points.
authorKatharina Kormann <katharina.kormann@tum.de>
Wed, 23 Feb 2011 18:52:28 +0000 (18:52 +0000)
committerKatharina Kormann <katharina.kormann@tum.de>
Wed, 23 Feb 2011 18:52:28 +0000 (18:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@23440 0785d39b-7218-0410-832d-ea1e28bc413d

tests/fe/fe_tools_01.cc
tests/fe/fe_tools_01/cmp/generic

index 5db5f8cedbef37aff600b781c89e44e7f19c634a..968b1d769f74f968db6a38e42f7efbc62c7bee36 100644 (file)
@@ -22,6 +22,7 @@
 #include <base/logstream.h>
 #include <fe/fe.h>
 #include <fe/fe_tools.h>
+#include <base/quadrature.h>
 
 template <int dim>
 void test_fe(const char* name)
@@ -49,11 +50,15 @@ main()
   test_fe<1>("FE_Q(1)");
   test_fe<1>("FE_Q(2)");
   test_fe<1>("FE_Q<1>(2)");
+  test_fe<1>("FE_Q(QGaussLobatto(3))");
+  test_fe<1>("FE_Q(QGaussLobatto(4))");
   test_fe<2>("FE_Q(1)");
   test_fe<2>("FE_Q<2>(2)");
   test_fe<2>("FE_Q<dim>(2)");
   test_fe<2>("FE_DGQ(1)");
   test_fe<2>("FE_RaviartThomas(1)");
+  test_fe<2>("FE_Q(QGaussLobatto(3))");
+  test_fe<2>("FE_Q(QGaussLobatto(4))");
   test_fe<3>("FE_Q(1)");
   test_fe<1>("FESystem<1>[FE_Q<dim>(2)^dim-FE_DGQ<d>(1)]");
   test_fe<2>("FESystem<2>[FE_Q<2>(2)^dim-FE_DGQ<2>(1)]");
index e17791ec26da180ecc9bc68881c0e159ef110c58..3541bf4dead933c5b5292ca917a1d6fd825965bc 100644 (file)
@@ -5,6 +5,10 @@ DEAL::FE_Q<1>(2)
 DEAL:: 3       1       1       0       0
 DEAL::FE_Q<1>(2)
 DEAL:: 3       1       1       0       0
+DEAL::FE_Q<1>(2)
+DEAL:: 3       1       1       0       0
+DEAL::FE_Q<1>(QGaussLobatto(4))
+DEAL:: 4       1       2       0       0
 DEAL::FE_Q<2>(1)
 DEAL:: 4       1       0       0       0
 DEAL::FE_Q<2>(2)
@@ -15,6 +19,10 @@ DEAL::FE_DGQ<2>(1)
 DEAL:: 4       0       0       4       0
 DEAL::FE_RaviartThomas<2>(1)
 DEAL:: 12      0       2       4       0
+DEAL::FE_Q<2>(2)
+DEAL:: 9       1       1       1       0
+DEAL::FE_Q<2>(QGaussLobatto(4))
+DEAL:: 16      1       2       4       0
 DEAL::FE_Q<3>(1)
 DEAL:: 8       1       0       0       0
 DEAL::FESystem<1>[FE_Q<1>(2)-FE_DGQ<1>(1)]

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.