]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make a test more robust by avoiding points directly at the periodicity boundary 8392/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 18 Jul 2019 13:22:42 +0000 (15:22 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 18 Jul 2019 13:22:42 +0000 (15:22 +0200)
tests/manifold/elliptical_manifold_02.cc
tests/manifold/elliptical_manifold_02.output

index e6b99121e5477cee499c45089513739fa35d344b..0e71ef8d37f1fde692ac8fb94736d0c5e715edea 100644 (file)
@@ -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));
   }
 }
index 0cf687080f50759e77066df0adad4be2069ca38c..abe9a80283c91dd7baab9f9baa7d74bb020b3e10 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.