From bf521b4ea1280349edca4d6d253f704afcb539aa Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 3 Jul 2021 11:16:51 -0400 Subject: [PATCH] Don't test piecewise constants with FE_SimplexP_Bubbles. The element's conformity is H1 so this doesn't make sense. --- tests/simplex/fe_p_bubbles_01.cc | 2 +- tests/simplex/fe_p_bubbles_01.output | 30 ------------ tests/simplex/fe_p_bubbles_02.cc | 4 +- tests/simplex/fe_p_bubbles_02.output | 72 ---------------------------- 4 files changed, 3 insertions(+), 105 deletions(-) diff --git a/tests/simplex/fe_p_bubbles_01.cc b/tests/simplex/fe_p_bubbles_01.cc index db2fb66e21..b15ca4aa52 100644 --- a/tests/simplex/fe_p_bubbles_01.cc +++ b/tests/simplex/fe_p_bubbles_01.cc @@ -58,7 +58,7 @@ test_unit_support_points() { deallog << "Test support points for dim = " << dim << " and spacedim = " << spacedim << std::endl; - for (unsigned int degree = 0; degree < 3; ++degree) + for (unsigned int degree = 1; degree < 3; ++degree) { deallog << "approximation degree = " << degree << std::endl; FE_SimplexP_Bubbles fe(degree); diff --git a/tests/simplex/fe_p_bubbles_01.output b/tests/simplex/fe_p_bubbles_01.output index 7555cff88f..422054d0d4 100644 --- a/tests/simplex/fe_p_bubbles_01.output +++ b/tests/simplex/fe_p_bubbles_01.output @@ -1,10 +1,5 @@ DEAL::Test support points for dim = 1 and spacedim = 1 -DEAL::approximation degree = 0 -DEAL::element tensor degree = 0 -DEAL:FE_SimplexP_Bubbles<1>(0)::0.500000 : -DEAL:FE_SimplexP_Bubbles<1>(0)::1.00000 0.00000 0.00000 -DEAL:FE_SimplexP_Bubbles<1>(0):: DEAL::approximation degree = 1 DEAL::element tensor degree = 1 DEAL:FE_SimplexP_Bubbles<1>(1)::0.00000 : @@ -22,11 +17,6 @@ DEAL:FE_SimplexP_Bubbles<1>(2)::0.500000 : DEAL:FE_SimplexP_Bubbles<1>(2)::0.00000 0.00000 1.00000 -1.00000 1.00000 0.00000 4.00000 4.00000 -8.00000 DEAL:FE_SimplexP_Bubbles<1>(2):: DEAL::Test support points for dim = 1 and spacedim = 2 -DEAL::approximation degree = 0 -DEAL::element tensor degree = 0 -DEAL:FE_SimplexP_Bubbles<1,2>(0)::0.500000 : -DEAL:FE_SimplexP_Bubbles<1,2>(0)::1.00000 0.00000 0.00000 -DEAL:FE_SimplexP_Bubbles<1,2>(0):: DEAL::approximation degree = 1 DEAL::element tensor degree = 1 DEAL:FE_SimplexP_Bubbles<1,2>(1)::0.00000 : @@ -44,11 +34,6 @@ DEAL:FE_SimplexP_Bubbles<1,2>(2)::0.500000 : DEAL:FE_SimplexP_Bubbles<1,2>(2)::0.00000 0.00000 1.00000 -1.00000 1.00000 0.00000 4.00000 4.00000 -8.00000 DEAL:FE_SimplexP_Bubbles<1,2>(2):: DEAL::Test support points for dim = 1 and spacedim = 3 -DEAL::approximation degree = 0 -DEAL::element tensor degree = 0 -DEAL:FE_SimplexP_Bubbles<1,3>(0)::0.500000 : -DEAL:FE_SimplexP_Bubbles<1,3>(0)::1.00000 0.00000 0.00000 -DEAL:FE_SimplexP_Bubbles<1,3>(0):: DEAL::approximation degree = 1 DEAL::element tensor degree = 1 DEAL:FE_SimplexP_Bubbles<1,3>(1)::0.00000 : @@ -66,11 +51,6 @@ DEAL:FE_SimplexP_Bubbles<1,3>(2)::0.500000 : DEAL:FE_SimplexP_Bubbles<1,3>(2)::0.00000 0.00000 1.00000 -1.00000 1.00000 0.00000 4.00000 4.00000 -8.00000 DEAL:FE_SimplexP_Bubbles<1,3>(2):: DEAL::Test support points for dim = 2 and spacedim = 2 -DEAL::approximation degree = 0 -DEAL::element tensor degree = 0 -DEAL:FE_SimplexP_Bubbles<2>(0)::0.333333 0.333333 : -DEAL:FE_SimplexP_Bubbles<2>(0)::1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 -DEAL:FE_SimplexP_Bubbles<2>(0):: DEAL::approximation degree = 1 DEAL::element tensor degree = 1 DEAL:FE_SimplexP_Bubbles<2>(1)::0.00000 0.00000 : @@ -98,11 +78,6 @@ DEAL:FE_SimplexP_Bubbles<2>(2)::0.333333 0.333333 : DEAL:FE_SimplexP_Bubbles<2>(2)::0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.333333 -0.333333 0.333333 1.11022e-16 1.11022e-16 0.333333 2.22045e-16 -1.33333 1.33333 1.33333 -1.33333 2.22045e-16 4.44089e-16 4.44089e-16 2.00000 3.00000 3.00000 2.00000 2.00000 -1.00000 -1.00000 -2.00000 -2.00000 -1.00000 -1.00000 2.00000 0.00000 -8.88178e-16 -8.88178e-16 8.00000 8.00000 8.00000 8.00000 8.00000 8.00000 -8.88178e-16 -8.88178e-16 0.00000 -18.0000 -9.00000 -9.00000 -18.0000 DEAL:FE_SimplexP_Bubbles<2>(2):: DEAL::Test support points for dim = 2 and spacedim = 3 -DEAL::approximation degree = 0 -DEAL::element tensor degree = 0 -DEAL:FE_SimplexP_Bubbles<2,3>(0)::0.333333 0.333333 : -DEAL:FE_SimplexP_Bubbles<2,3>(0)::1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 -DEAL:FE_SimplexP_Bubbles<2,3>(0):: DEAL::approximation degree = 1 DEAL::element tensor degree = 1 DEAL:FE_SimplexP_Bubbles<2,3>(1)::0.00000 0.00000 : @@ -130,11 +105,6 @@ DEAL:FE_SimplexP_Bubbles<2,3>(2)::0.333333 0.333333 : DEAL:FE_SimplexP_Bubbles<2,3>(2)::0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.333333 -0.333333 0.333333 1.11022e-16 1.11022e-16 0.333333 2.22045e-16 -1.33333 1.33333 1.33333 -1.33333 2.22045e-16 4.44089e-16 4.44089e-16 2.00000 3.00000 3.00000 2.00000 2.00000 -1.00000 -1.00000 -2.00000 -2.00000 -1.00000 -1.00000 2.00000 0.00000 -8.88178e-16 -8.88178e-16 8.00000 8.00000 8.00000 8.00000 8.00000 8.00000 -8.88178e-16 -8.88178e-16 0.00000 -18.0000 -9.00000 -9.00000 -18.0000 DEAL:FE_SimplexP_Bubbles<2,3>(2):: DEAL::Test support points for dim = 3 and spacedim = 3 -DEAL::approximation degree = 0 -DEAL::element tensor degree = 0 -DEAL:FE_SimplexP_Bubbles<3>(0)::0.250000 0.250000 0.250000 : -DEAL:FE_SimplexP_Bubbles<3>(0)::1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 -DEAL:FE_SimplexP_Bubbles<3>(0):: DEAL::approximation degree = 1 DEAL::element tensor degree = 1 DEAL:FE_SimplexP_Bubbles<3>(1)::0.00000 0.00000 0.00000 : diff --git a/tests/simplex/fe_p_bubbles_02.cc b/tests/simplex/fe_p_bubbles_02.cc index 49c32bd395..683f220704 100644 --- a/tests/simplex/fe_p_bubbles_02.cc +++ b/tests/simplex/fe_p_bubbles_02.cc @@ -100,7 +100,7 @@ test_interpolate() } deallog << "dim = " << dim << std::endl; - for (unsigned int degree = 0; degree < 3; ++degree) + for (unsigned int degree = 1; degree < 3; ++degree) { deallog << "degree = " << degree << std::endl; double old_error = -1.0; @@ -165,7 +165,7 @@ test_lumped_project() deallog << "dim = " << dim << std::endl; - for (unsigned int degree = 0; degree < 3; ++degree) + for (unsigned int degree = 1; degree < 3; ++degree) { deallog << "degree = " << degree << std::endl; double old_error = -1.0; diff --git a/tests/simplex/fe_p_bubbles_02.output b/tests/simplex/fe_p_bubbles_02.output index 7b4e868461..0d8299ceee 100644 --- a/tests/simplex/fe_p_bubbles_02.output +++ b/tests/simplex/fe_p_bubbles_02.output @@ -2,26 +2,6 @@ DEAL:: DEAL::test interpolation DEAL::dim = 2 -DEAL::degree = 0 -DEAL::number of cells = 8 -DEAL::number of dofs = 8 -DEAL::error = 0.129785 -DEAL::number of cells = 32 -DEAL::number of dofs = 32 -DEAL::error = 0.0657918 -DEAL::ratio = 1.97266 -DEAL::number of cells = 128 -DEAL::number of dofs = 128 -DEAL::error = 0.0340434 -DEAL::ratio = 1.93258 -DEAL::number of cells = 512 -DEAL::number of dofs = 512 -DEAL::error = 0.0169138 -DEAL::ratio = 2.01276 -DEAL::number of cells = 2048 -DEAL::number of dofs = 2048 -DEAL::error = 0.00849451 -DEAL::ratio = 1.99115 DEAL::degree = 1 DEAL::number of cells = 8 DEAL::number of dofs = 9 @@ -53,22 +33,6 @@ DEAL::ratio = 7.09292 DEAL:: DEAL::test interpolation DEAL::dim = 3 -DEAL::degree = 0 -DEAL::number of cells = 24 -DEAL::number of dofs = 24 -DEAL::error = 0.112063 -DEAL::number of cells = 192 -DEAL::number of dofs = 192 -DEAL::error = 0.0562048 -DEAL::ratio = 1.99384 -DEAL::number of cells = 1536 -DEAL::number of dofs = 1536 -DEAL::error = 0.0288430 -DEAL::ratio = 1.94865 -DEAL::number of cells = 12288 -DEAL::number of dofs = 12288 -DEAL::error = 0.0145439 -DEAL::ratio = 1.98317 DEAL::degree = 1 DEAL::number of cells = 24 DEAL::number of dofs = 14 @@ -92,26 +56,6 @@ DEAL::ratio = 7.68990 DEAL:: DEAL::test lumped project DEAL::dim = 2 -DEAL::degree = 0 -DEAL::number of cells = 8 -DEAL::number of dofs = 8 -DEAL::error = 0.128417 -DEAL::number of cells = 32 -DEAL::number of dofs = 32 -DEAL::error = 0.0656044 -DEAL::ratio = 1.95745 -DEAL::number of cells = 128 -DEAL::number of dofs = 128 -DEAL::error = 0.0340204 -DEAL::ratio = 1.92838 -DEAL::number of cells = 512 -DEAL::number of dofs = 512 -DEAL::error = 0.0169106 -DEAL::ratio = 2.01178 -DEAL::number of cells = 2048 -DEAL::number of dofs = 2048 -DEAL::error = 0.00849411 -DEAL::ratio = 1.99086 DEAL::degree = 1 DEAL::number of cells = 8 DEAL::number of dofs = 9 @@ -155,22 +99,6 @@ DEAL::ratio = 3.98804 DEAL:: DEAL::test lumped project DEAL::dim = 3 -DEAL::degree = 0 -DEAL::number of cells = 24 -DEAL::number of dofs = 24 -DEAL::error = 0.110613 -DEAL::number of cells = 192 -DEAL::number of dofs = 192 -DEAL::error = 0.0560060 -DEAL::ratio = 1.97501 -DEAL::number of cells = 1536 -DEAL::number of dofs = 1536 -DEAL::error = 0.0288177 -DEAL::ratio = 1.94346 -DEAL::number of cells = 12288 -DEAL::number of dofs = 12288 -DEAL::error = 0.0145407 -DEAL::ratio = 1.98187 DEAL::degree = 1 DEAL::number of cells = 24 DEAL::number of dofs = 14 -- 2.39.5