From 3531a399e7114ff06d6aa312d655930079092648 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 11 Jan 2017 19:14:34 +0100 Subject: [PATCH] Add another test --- tests/fe/element_constant_modes.cc | 6 +- tests/fe/element_constant_modes.output | 130 ++++++++++++++----------- 2 files changed, 77 insertions(+), 59 deletions(-) diff --git a/tests/fe/element_constant_modes.cc b/tests/fe/element_constant_modes.cc index 3a235490d7..9ae47aa9a8 100644 --- a/tests/fe/element_constant_modes.cc +++ b/tests/fe/element_constant_modes.cc @@ -49,6 +49,9 @@ void test() print_constant_modes(FE_Q(1)); print_constant_modes(FE_Q(2)); print_constant_modes(FE_DGQ(1)); + print_constant_modes(FE_DGQLegendre(2)); + print_constant_modes(FE_DGQHermite(2)); + print_constant_modes(FE_DGQHermite(3)); print_constant_modes(FE_DGP(2)); print_constant_modes(FE_Q_Hierarchical(1)); print_constant_modes(FE_Q_Hierarchical(2)); @@ -82,6 +85,3 @@ main() return 0; } - - - diff --git a/tests/fe/element_constant_modes.output b/tests/fe/element_constant_modes.output index 5457b7742d..f25e1afb08 100644 --- a/tests/fe/element_constant_modes.output +++ b/tests/fe/element_constant_modes.output @@ -1,115 +1,133 @@ DEAL::Testing FE_Q<1>(1) -DEAL::1 1 +DEAL::1 1 DEAL:: DEAL::Testing FESystem<1>[FE_Q<1>(1)^2-FE_Q<1>(2)] -DEAL::1 0 0 1 0 0 0 -DEAL::0 1 0 0 1 0 0 -DEAL::0 0 1 0 0 1 1 +DEAL::1 0 0 1 0 0 0 +DEAL::0 1 0 0 1 0 0 +DEAL::0 0 1 0 0 1 1 DEAL:: DEAL::Testing FESystem<1>[FE_DGP<1>(1)-FE_Q_iso_Q1<1>(2)] -DEAL::0 0 1 0 0 -DEAL::1 1 0 0 1 +DEAL::0 0 1 0 0 +DEAL::1 1 0 0 1 DEAL:: DEAL::Testing FE_Q<2>(1) -DEAL::1 1 1 1 +DEAL::1 1 1 1 DEAL:: DEAL::Testing FE_Q<2>(2) -DEAL::1 1 1 1 1 1 1 1 1 +DEAL::1 1 1 1 1 1 1 1 1 DEAL:: DEAL::Testing FE_DGQ<2>(1) -DEAL::1 1 1 1 +DEAL::1 1 1 1 +DEAL:: +DEAL::Testing FE_DGQLegendre<2>(2) +DEAL::1 0 0 0 0 0 0 0 0 +DEAL:: +DEAL::Testing FE_DGQHermite<2>(2) +DEAL::1 1 1 1 1 1 1 1 1 +DEAL:: +DEAL::Testing FE_DGQHermite<2>(3) +DEAL::1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 DEAL:: DEAL::Testing FE_DGP<2>(2) -DEAL::1 0 0 0 0 0 +DEAL::1 0 0 0 0 0 DEAL:: DEAL::Testing FE_Q_Hierarchical<2>(1) -DEAL::1 1 1 1 +DEAL::1 1 1 1 DEAL:: DEAL::Testing FE_Q_Hierarchical<2>(2) -DEAL::1 1 1 1 0 0 0 0 0 +DEAL::1 1 1 1 0 0 0 0 0 DEAL:: DEAL::Testing FE_FaceQ<2>(1) -DEAL::1 1 1 1 1 1 1 1 +DEAL::1 1 1 1 1 1 1 1 DEAL:: DEAL::Testing FE_FaceP<2>(1) -DEAL::1 0 1 0 1 0 1 0 +DEAL::1 0 1 0 1 0 1 0 DEAL:: DEAL::Testing FESystem<2>[FE_Q<2>(1)^2-FE_Q<2>(2)] -DEAL::1 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 -DEAL::0 1 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 -DEAL::0 0 1 0 0 1 0 0 1 0 0 1 1 1 1 1 1 +DEAL::1 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 +DEAL::0 1 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 +DEAL::0 0 1 0 0 1 0 0 1 0 0 1 1 1 1 1 1 DEAL:: DEAL::Testing FESystem<2>[FE_DGP<2>(1)-FE_Q_iso_Q1<2>(2)] -DEAL::0 0 0 0 0 0 0 0 1 0 0 0 -DEAL::1 1 1 1 1 1 1 1 0 0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L::0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 +DEAL::0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 DEAL:: DEAL::Testing FE_Q<3>(1) -DEAL::1 1 1 1 1 1 1 1 +DEAL::1 1 1 1 1 1 1 1 DEAL:: DEAL::Testing FE_Q<3>(2) -DEAL::1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +DEAL::1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 DEAL:: DEAL::Testing FE_DGQ<3>(1) -DEAL::1 1 1 1 1 1 1 1 +DEAL::1 1 1 1 1 1 1 1 +DEAL:: +DEAL::Testing FE_DGQLegendre<3>(2) +DEAL::1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +DEAL:: +DEAL::Testing FE_DGQHermite<3>(2) +DEAL::1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +DEAL:: +DEAL::Testing FE_DGQHermite<3>(3) +DEAL::1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DEAL:: DEAL::Testing FE_DGP<3>(2) -DEAL::1 0 0 0 0 0 0 0 0 0 +DEAL::1 0 0 0 0 0 0 0 0 0 DEAL:: DEAL::Testing FE_Q_Hierarchical<3>(1) -DEAL::1 1 1 1 1 1 1 1 +DEAL::1 1 1 1 1 1 1 1 DEAL:: DEAL::Testing FE_Q_Hierarchical<3>(2) -DEAL::1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +DEAL::1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DEAL: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