[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet s.popinet at niwa.co.nz
Fri May 15 02:52:38 UTC 2009


The following commit has been merged in the upstream branch:
commit ef22af066a070e4b06958e1f7470b72f15205a93
Author: Stephane Popinet <s.popinet at niwa.co.nz>
Date:   Mon Sep 19 10:46:05 2005 +1000

    Weaker criteria for Poisson test cases
    
    darcs-hash:20050919004605-fbd8f-2a09ca5beb513e837fcba53f768e84410d91e0da.gz

diff --git a/test/euler/circle/circle.sh b/test/euler/circle/circle.sh
index 4e40064..918f9e5 100644
--- a/test/euler/circle/circle.sh
+++ b/test/euler/circle/circle.sh
@@ -82,7 +82,10 @@ fi
 if cat <<EOF | python ; then :
 from check import *
 from sys import *
-if (Curve('res-7',1,3) - Curve('res-7.ref',1,3)).max() > 1e-8 or\
+c = Curve()
+for p in Curve('res-7.ref',1,3).l:
+    c.l.append((p[0]+0.1, p[1]))
+if (Curve('res-7',1,3) - c).max() > 1e-8 or\
    (Curve('error',1,4) - Curve('error.ref',1,4)).max() > 1e-6:
     exit(1)
 EOF
diff --git a/test/euler/circle/thin/error.ref b/test/euler/circle/thin/error.ref
index 91617e7..6ba8e5e 100644
--- a/test/euler/circle/thin/error.ref
+++ b/test/euler/circle/thin/error.ref
@@ -2,5 +2,5 @@
 4 6.417e-02 7.586e-02 2.048e-01
 5 2.960e-02 3.379e-02 1.364e-01
 6 1.426e-02 1.605e-02 9.463e-02
-7 7.001e-03 7.843e-03 6.646e-02
-8 3.468e-03 3.880e-03 4.686e-02
+7 7.001e-03 7.844e-03 6.646e-02
+8 3.468e-03 3.880e-03 4.687e-02
diff --git a/test/euler/circle/thin/res-7.ref b/test/euler/circle/thin/res-7.ref
index bcc02c6..7cbf3f4 100644
--- a/test/euler/circle/thin/res-7.ref
+++ b/test/euler/circle/thin/res-7.ref
@@ -1,4 +1,3 @@
-0 0 1.776e+02 0
 0.38 1 2.824e+02 0.63
 0.71 2 7.886e+01 1.5
 1.04 3 2.151e+01 2
diff --git a/test/euler/poisson/poisson.sh b/test/euler/poisson/poisson.sh
index 2432849..29ee508 100644
--- a/test/euler/poisson/poisson.sh
+++ b/test/euler/poisson/poisson.sh
@@ -68,7 +68,10 @@ fi
 if cat <<EOF | python ; then :
 from check import *
 from sys import *
-if (Curve('res-7',1,3) - Curve('res-7.ref',1,3)).max() > 1e-8 or\
+c = Curve()
+for p in Curve('res-7.ref',1,3).l:
+    c.l.append((p[0]+0.1, p[1]))
+if (Curve('res-7',1,3) - c).max() > 1e-8 or\
    (Curve('error',1,4) - Curve('error.ref',1,4)).max() > 1e-6:
     exit(1)
 EOF

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list