]> https://gitweb.dealii.org/ - dealii.git/commitdiff
test new FE_DGQ with Gauss and Gauss-Lobatto support points
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 13 Jun 2005 12:50:11 +0000 (12:50 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 13 Jun 2005 12:50:11 +0000 (12:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@10861 0785d39b-7218-0410-832d-ea1e28bc413d

tests/fe/shapes.cc

index 2e41239fd98d846e7a7f774e53840c2dff41c24c..594cb122219da5128e285f87ab71a2bef37b3b7e 100644 (file)
@@ -470,7 +470,19 @@ void plot_FE_DGQ_shape_functions()
   plot_shape_functions(m, q3, "DGQ3");
   plot_face_shape_functions(m, q3, "DGQ3");
   test_compute_functions(m, q3, "DGQ3");
-
+  
+  QGaussLobatto<1> quadrature_gl(5);
+  FE_DGQ<dim> qgl(quadrature_gl);
+  plot_shape_functions(m, qgl, "DGQGL");
+  plot_face_shape_functions(m, qgl, "DGQGL");
+  test_compute_functions(m, qgl, "DGQGL");
+  
+  QGauss<1> quadrature_g(5);
+  FE_DGQ<dim> qg(quadrature_g);
+  plot_shape_functions(m, qg, "DGQG");
+  plot_face_shape_functions(m, qg, "DGQG");
+  test_compute_functions(m, qg, "DGQG");
+  
 //    FE_DGQ<dim> q4(4);
 //    plot_shape_functions(m, q4, "DGQ4");
 //    plot_face_shape_functions(m, q4, "DGQ4");
@@ -666,6 +678,10 @@ main()
   plot_FE_Q_Hierarchical_shape_functions<2>();
   plot_FE_Q_Hierarchical_shape_functions<3>();
 
+  plot_FE_DGQ_shape_functions<1>();
+  plot_FE_DGQ_shape_functions<2>();
+  plot_FE_DGQ_shape_functions<3>();
+  
   plot_FE_DGP_shape_functions<1>();
   plot_FE_DGP_shape_functions<2>();
   plot_FE_DGP_shape_functions<3>();

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.