From f2f09f39ad823f4c48ab2404dee4f43642062389 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 29 Apr 2020 20:28:12 -0400 Subject: [PATCH] speed up tests/non_matching/coupling_08 --- tests/non_matching/coupling_08.cc | 6 +++--- .../coupling_08.with_umfpack=true.output | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/non_matching/coupling_08.cc b/tests/non_matching/coupling_08.cc index 541991e2e0..d2fd4dbcd0 100644 --- a/tests/non_matching/coupling_08.cc +++ b/tests/non_matching/coupling_08.cc @@ -53,7 +53,7 @@ test() GridGenerator::hyper_cube(tria0, -.4, .3); GridGenerator::hyper_cube(tria1, -1, 1); - tria0.refine_global(3); + tria0.refine_global((dim0 == 3) ? 2 : 3); tria1.refine_global(2); FE_Q fe0(1); @@ -80,8 +80,8 @@ test() << "Dofs 1 : " << dh1.n_dofs() << std::endl << "Constrained dofs: " << constraints0.n_constraints() << std::endl; - QGauss quad0(3); // Quadrature for coupling - QGauss quad1(3); // Quadrature for coupling + QGauss quad0(2); // Quadrature for coupling + QGauss quad1(2); // Quadrature for coupling const double epsilon = 2 * std::max(GridTools::maximal_cell_diameter(tria0), GridTools::maximal_cell_diameter(tria1)); diff --git a/tests/non_matching/coupling_08.with_umfpack=true.output b/tests/non_matching/coupling_08.with_umfpack=true.output index 2fc07a692e..09bc22bc62 100644 --- a/tests/non_matching/coupling_08.with_umfpack=true.output +++ b/tests/non_matching/coupling_08.with_umfpack=true.output @@ -6,7 +6,7 @@ DEAL::Dofs 0 : 9 DEAL::Dofs 1 : 5 DEAL::Constrained dofs: 0 DEAL::Epsilon: 1.00000 -DEAL::Error on constants: 1.72490 +DEAL::Error on constants: 1.72494 DEAL::dim0: 2, dim1: 1, spacedim: 2 DEAL::FE0 : FE_Q<2>(1) DEAL::FE1 : FE_Q<1,2>(1) @@ -14,7 +14,7 @@ DEAL::Dofs 0 : 81 DEAL::Dofs 1 : 5 DEAL::Constrained dofs: 0 DEAL::Epsilon: 1.00000 -DEAL::Error on constants: 1.87222 +DEAL::Error on constants: 1.87214 DEAL::dim0: 2, dim1: 2, spacedim: 2 DEAL::FE0 : FE_Q<2>(1) DEAL::FE1 : FE_Q<2>(1) @@ -22,20 +22,20 @@ DEAL::Dofs 0 : 81 DEAL::Dofs 1 : 25 DEAL::Constrained dofs: 0 DEAL::Epsilon: 1.41421 -DEAL::Error on constants: 4.61731 +DEAL::Error on constants: 4.61805 DEAL::dim0: 3, dim1: 2, spacedim: 3 DEAL::FE0 : FE_Q<3>(1) DEAL::FE1 : FE_Q<2,3>(1) -DEAL::Dofs 0 : 729 +DEAL::Dofs 0 : 125 DEAL::Dofs 1 : 25 DEAL::Constrained dofs: 0 DEAL::Epsilon: 1.41421 -DEAL::Error on constants: 4.79570 +DEAL::Error on constants: 4.79607 DEAL::dim0: 3, dim1: 3, spacedim: 3 DEAL::FE0 : FE_Q<3>(1) DEAL::FE1 : FE_Q<3>(1) -DEAL::Dofs 0 : 729 +DEAL::Dofs 0 : 125 DEAL::Dofs 1 : 125 DEAL::Constrained dofs: 0 DEAL::Epsilon: 1.73205 -DEAL::Error on constants: 10.9402 \ No newline at end of file +DEAL::Error on constants: 10.9407 -- 2.39.5