From: Wolfgang Bangerth Date: Wed, 9 Nov 2016 00:23:40 +0000 (-0700) Subject: Reduce the number of steps for high order mappings. X-Git-Tag: v8.5.0-rc1~422^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3508%2Fhead;p=dealii.git Reduce the number of steps for high order mappings. For high order mappings, we too quickly get close to round-off errors, with tests failing depending on what optimization flags are used. Consequently, don't use too fine meshes for high order mappings. --- diff --git a/tests/mappings/mapping_q_eulerian.cc b/tests/mappings/mapping_q_eulerian.cc index e1024240bc..9293c283c1 100644 --- a/tests/mappings/mapping_q_eulerian.cc +++ b/tests/mappings/mapping_q_eulerian.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2008 - 2015 by the deal.II authors +// Copyright (C) 2008 - 2016 by the deal.II authors // // This file is part of the deal.II library. // @@ -156,7 +156,7 @@ void MappingTest::run_test () ConvergenceTable table; for (unsigned int ref_level = 0; - ref_level < 5; + ref_level < (degree<4 ? 5 : 3); ++ref_level, triangulation.refine_global(1)) { diff --git a/tests/mappings/mapping_q_eulerian.output b/tests/mappings/mapping_q_eulerian.output index a0e1403958..88fd6ee636 100644 --- a/tests/mappings/mapping_q_eulerian.output +++ b/tests/mappings/mapping_q_eulerian.output @@ -28,6 +28,4 @@ cells dofs area error 1 50 3.14158719 1.7382e-06 - 4 162 3.14159263 7.0396e-09 7.95 16 578 3.14159265 2.7745e-11 7.99 -64 2178 3.14159265 1.0362e-13 8.06 -256 8450 3.14159265 1.0178e-14 3.35 DEAL::