From 5c0ba12bf56594c2903506a463d4820053cd0110 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Thu, 27 Feb 2014 21:21:35 +0000 Subject: [PATCH] Adjust tolerances a avoid output differences git-svn-id: https://svn.dealii.org/trunk@32578 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/matrix_free/inverse_mass_01.cc | 6 +++--- tests/matrix_free/inverse_mass_01.output | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/matrix_free/inverse_mass_01.cc b/tests/matrix_free/inverse_mass_01.cc index 77faf478ab..1c015f0fd5 100644 --- a/tests/matrix_free/inverse_mass_01.cc +++ b/tests/matrix_free/inverse_mass_01.cc @@ -144,7 +144,7 @@ void do_test (const DoFHandler &dof) mf.apply_inverse (inverse, in); - SolverControl control(1000, 1e-12); + SolverControl control(1000, 1e-10); SolverCG > solver(control); solver.solve (mf, reference, in, PreconditionIdentity()); @@ -187,7 +187,7 @@ void test () deallog.push("float"); deallog.threshold_double(1.e-6); do_test (dof); - deallog.threshold_double(5.e-11); + deallog.threshold_double(1.e-10); deallog.pop(); } } @@ -202,7 +202,7 @@ int main () deallog << std::setprecision (3); { - deallog.threshold_double(5.e-11); + deallog.threshold_double(1.e-10); deallog.push("2d"); test<2,1>(); test<2,2>(); diff --git a/tests/matrix_free/inverse_mass_01.output b/tests/matrix_free/inverse_mass_01.output index 98c2aaf8e9..7f51cbd39d 100644 --- a/tests/matrix_free/inverse_mass_01.output +++ b/tests/matrix_free/inverse_mass_01.output @@ -1,41 +1,41 @@ DEAL:2d::Testing FE_DGQ<2>(1) DEAL:2d:cg::Starting value 6.32 -DEAL:2d:cg::Convergence step 51 value 0 +DEAL:2d:cg::Convergence step 48 value 0 DEAL:2d::Norm of difference: 0 DEAL:2d:: DEAL:2d:float::Testing FE_DGQ<2>(1) DEAL:2d:float:cg::Starting value 6.15 -DEAL:2d:float:cg::Convergence step 66 value 0 +DEAL:2d:float:cg::Convergence step 57 value 0 DEAL:2d:float::Norm of difference: 0 DEAL:2d:float:: DEAL:2d::Testing FE_DGQ<2>(2) DEAL:2d:cg::Starting value 8.62 -DEAL:2d:cg::Convergence step 116 value 0 +DEAL:2d:cg::Convergence step 105 value 0 DEAL:2d::Norm of difference: 0 DEAL:2d:: DEAL:2d:float::Testing FE_DGQ<2>(2) DEAL:2d:float:cg::Starting value 9.05 -DEAL:2d:float:cg::Convergence step 158 value 0 +DEAL:2d:float:cg::Convergence step 133 value 0 DEAL:2d:float::Norm of difference: 0 DEAL:2d:float:: DEAL:2d::Testing FE_DGQ<2>(4) DEAL:2d:cg::Starting value 14.6 -DEAL:2d:cg::Convergence step 354 value 0 +DEAL:2d:cg::Convergence step 311 value 0 DEAL:2d::Norm of difference: 0 DEAL:2d:: DEAL:2d:float::Testing FE_DGQ<2>(4) DEAL:2d:float:cg::Starting value 14.7 -DEAL:2d:float:cg::Convergence step 437 value 0 +DEAL:2d:float:cg::Convergence step 376 value 0 DEAL:2d:float::Norm of difference: 0 DEAL:2d:float:: DEAL:3d::Testing FE_DGQ<3>(1) DEAL:3d:cg::Starting value 13.7 -DEAL:3d:cg::Convergence step 131 value 0 +DEAL:3d:cg::Convergence step 124 value 0 DEAL:3d::Norm of difference: 0 DEAL:3d:: DEAL:3d::Testing FE_DGQ<3>(2) DEAL:3d:cg::Starting value 13.5 -DEAL:3d:cg::Convergence step 255 value 0 +DEAL:3d:cg::Convergence step 241 value 0 DEAL:3d::Norm of difference: 0 DEAL:3d:: -- 2.39.5