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

Stephane Popinet popinet at users.sf.net
Fri May 15 02:54:58 UTC 2009


The following commit has been merged in the upstream branch:
commit 364e7ad977c35d1169bb85cbeb3be1062ea6278b
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Tue Jan 29 14:13:06 2008 +1100

    Improved robustness of checks for 'beta' and 'waves' test cases
    
    darcs-hash:20080129031306-d4795-0f2cc7076e1ba8435826383983e44133cf29abee.gz

diff --git a/test/geo/beta/beta.sh b/test/geo/beta/beta.sh
index 1d6d291..661e662 100644
--- a/test/geo/beta/beta.sh
+++ b/test/geo/beta/beta.sh
@@ -26,6 +26,9 @@ fi
 if cat <<EOF | python ; then :
 from check import *
 from sys import *
+if Curve('energy',1,2).max() > 1. or \
+   Curve('energy-nonlinear',1,2).max() > 1.:
+    exit(1)
 if (Curve('energy.ref',1,2) - Curve('energy',1,2)).max() > 1e-2 or \
    (Curve('energy-nonlinear.ref',1,2) - Curve('energy-nonlinear',1,2)).max() > 1e-2:
     exit(1)
diff --git a/test/waves/waves.sh b/test/waves/waves.sh
index 46cd91b..0462dee 100644
--- a/test/waves/waves.sh
+++ b/test/waves/waves.sh
@@ -32,6 +32,8 @@ awk 'BEGIN {
 if cat <<EOF | python ; then :
 from check import *
 from sys import *
+if Curve('correlation',1,3).max() > 10.:
+    exit(1)
 if (Curve('correlation',1,2) - Curve('correlation.ref',1,2)).max() > 0. or\
    (Curve('correlation.ref',1,3) - Curve('correlation',1,3)).max() > 0.:
     exit(1)

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list