From 835bf02363d80934866ddf0e0b5f57f036b02aec Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Mon, 13 Jun 2005 12:50:11 +0000 Subject: [PATCH] test new FE_DGQ with Gauss and Gauss-Lobatto support points git-svn-id: https://svn.dealii.org/trunk@10861 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/fe/shapes.cc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tests/fe/shapes.cc b/tests/fe/shapes.cc index 2e41239fd9..594cb12221 100644 --- a/tests/fe/shapes.cc +++ b/tests/fe/shapes.cc @@ -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 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 qg(quadrature_g); + plot_shape_functions(m, qg, "DGQG"); + plot_face_shape_functions(m, qg, "DGQG"); + test_compute_functions(m, qg, "DGQG"); + // FE_DGQ 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>(); -- 2.39.5