From: Wolfgang Bangerth Date: Thu, 23 May 2024 03:32:35 +0000 (-0600) Subject: Adjust some tests. X-Git-Tag: v9.6.0-rc1~220^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04a08c2f58acb77806cd58cebbd22fc6a23e2816;p=dealii.git Adjust some tests. --- diff --git a/tests/base/qprojector.cc b/tests/base/qprojector.cc index 342429d24c..881c6f546e 100644 --- a/tests/base/qprojector.cc +++ b/tests/base/qprojector.cc @@ -180,7 +180,7 @@ main() deallog << std::setprecision(2); - Quadrature<1> none(0); + Quadrature<1> none; check(none); QGauss<1> midpoint(1); diff --git a/tests/base/quadrature_is_tensor_product.cc b/tests/base/quadrature_is_tensor_product.cc index 2f084caae3..c04d82dd99 100644 --- a/tests/base/quadrature_is_tensor_product.cc +++ b/tests/base/quadrature_is_tensor_product.cc @@ -26,7 +26,8 @@ template void print_is_tensor_product() { - Quadrature q_0(1); + Quadrature q_0(std::vector>{Point()}, + std::vector{0.}); deallog << "Quadrature<" << dim << ">: " << q_0.is_tensor_product() << std::endl; diff --git a/tests/hp/fe_nothing_dominates_01.cc b/tests/hp/fe_nothing_dominates_01.cc index 0fec17c987..a5b97c9960 100644 --- a/tests/hp/fe_nothing_dominates_01.cc +++ b/tests/hp/fe_nothing_dominates_01.cc @@ -46,7 +46,10 @@ test(const bool fe_nothing_dominates) hp::FECollection fe_collection(FE_Nothing(/*n_components=*/1, fe_nothing_dominates), FE_Q(1)); - hp::QCollection q_collection(Quadrature(1), QGauss(2)); + hp::QCollection q_collection( + Quadrature(std::vector>{Point()}, + std::vector{0.}), + QGauss(2)); project(fe_collection, q_collection, function); } @@ -55,7 +58,10 @@ test(const bool fe_nothing_dominates) hp::FECollection fe_collection(FE_Q(1), FE_Nothing(/*n_components=*/1, fe_nothing_dominates)); - hp::QCollection q_collection(QGauss(2), Quadrature(1)); + hp::QCollection q_collection( + QGauss(2), + Quadrature(std::vector>{Point()}, + std::vector{0.})); project(fe_collection, q_collection, function); } } diff --git a/tests/hp/fe_nothing_dominates_02.cc b/tests/hp/fe_nothing_dominates_02.cc index 68b2af252c..96cc3c3749 100644 --- a/tests/hp/fe_nothing_dominates_02.cc +++ b/tests/hp/fe_nothing_dominates_02.cc @@ -48,7 +48,10 @@ test() hp::FECollection fe_collection( FESystem(FE_Q(1), FE_Q(1)), FESystem(FE_Nothing(1, true), FE_Nothing(1, false))); - hp::QCollection q_collection(QGauss(2), Quadrature(1)); + hp::QCollection q_collection( + QGauss(2), + Quadrature(std::vector>{Point()}, + std::vector{0.})); project(fe_collection, q_collection, function); } { @@ -56,7 +59,10 @@ test() hp::FECollection fe_collection( FESystem(FE_Nothing(1, true), FE_Nothing(1, false)), FESystem(FE_Q(1), FE_Q(1))); - hp::QCollection q_collection(Quadrature(1), QGauss(2)); + hp::QCollection q_collection( + Quadrature(std::vector>{Point()}, + std::vector{0.}), + QGauss(2)); project(fe_collection, q_collection, function); } }