From: Martin Kronbichler Date: Thu, 18 Jul 2019 13:22:42 +0000 (+0200) Subject: Make a test more robust by avoiding points directly at the periodicity boundary X-Git-Tag: v9.2.0-rc1~1375^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=988591b7bf61d40272a1fc0bee5bd4dd517e0f0e;p=dealii.git Make a test more robust by avoiding points directly at the periodicity boundary --- diff --git a/tests/manifold/elliptical_manifold_02.cc b/tests/manifold/elliptical_manifold_02.cc index e6b99121e5..0e71ef8d37 100644 --- a/tests/manifold/elliptical_manifold_02.cc +++ b/tests/manifold/elliptical_manifold_02.cc @@ -105,9 +105,9 @@ test() // test on a rotated manifold const Tensor<1, 2> axis({1.0, -1.0}); const double eccentricity(0.1); - local_test(axis, eccentricity, Point<2>(1.1, 0.0)); - local_test(axis, eccentricity, Point<2>(2.0, 0.0)); - local_test(axis, eccentricity, Point<2>(3.0, 0.0)); + local_test(axis, eccentricity, Point<2>(1.1, 0.25 * TOLERANCE)); + local_test(axis, eccentricity, Point<2>(2.0, 0.25 * TOLERANCE)); + local_test(axis, eccentricity, Point<2>(3.0, 0.25 * TOLERANCE)); local_test(axis, eccentricity, Point<2>(4.0, 2.0)); } } diff --git a/tests/manifold/elliptical_manifold_02.output b/tests/manifold/elliptical_manifold_02.output index 0cf687080f..abe9a80283 100644 --- a/tests/manifold/elliptical_manifold_02.output +++ b/tests/manifold/elliptical_manifold_02.output @@ -11,13 +11,13 @@ DEAL::OK DEAL::4.00000 2.00000 -> -16.6459 36.1896 DEAL::4.00000 2.00000 <- -16.6459 36.1896 DEAL::OK -DEAL::1.10000 0.00000 -> 7.77817 -7.77817 +DEAL::1.10000 2.50000e-15 -> 7.77817 -7.77817 DEAL::1.10000 0.00000 <- 7.77817 -7.77817 DEAL::OK -DEAL::2.00000 0.00000 -> 14.1421 -14.1421 +DEAL::2.00000 2.50000e-15 -> 14.1421 -14.1421 DEAL::2.00000 0.00000 <- 14.1421 -14.1421 DEAL::OK -DEAL::3.00000 0.00000 -> 21.2132 -21.2132 +DEAL::3.00000 2.50000e-15 -> 21.2132 -21.2132 DEAL::3.00000 0.00000 <- 21.2132 -21.2132 DEAL::OK DEAL::4.00000 2.00000 -> 13.8195 37.3603