[Commits] [svn:einsteintoolkit] Multipole/trunk/test/ (Rev. 112)

ian.hinder at aei.mpg.de ian.hinder at aei.mpg.de
Wed Apr 30 10:36:08 CDT 2014


User: hinder
Date: 2014/04/30 10:36 AM

Modified:
 /trunk/test/
  test.ccl

Log:
 test.ccl: Do not require a very accurate convergence order
 
 The convergence order is extremely sensitive to roundoff, as its computation includes subtracting two very similar numbers.  Instead, we output the integration results for the purpose of regression testing, as these are less sensitive to roundoff.

File Changes:

Directory: /trunk/test/
=======================

File [modified]: test.ccl
Delta lines: +6 -0
===================================================================
--- trunk/test/test.ccl	2014-04-30 15:35:53 UTC (rev 111)
+++ trunk/test/test.ccl	2014-04-30 15:36:08 UTC (rev 112)
@@ -1,2 +1,8 @@
 ABSTOL 1e-8
 RELTOL 1e-8
+
+# The convergence order tests are very sensitive to roundoff, because
+# the integration has a very small relative error (1e-7).  Hence
+# subtracting the numerical result from the exact result loses ~7
+# digits of precision.
+ABSTOL 1e-3 ^test_.*_convergence_order\.asc$



More information about the Commits mailing list