File: geo.sh

package info (click to toggle)
gerris 20131206%2Bdfsg-21
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,252 kB
  • sloc: ansic: 66,595; sh: 15,922; f90: 1,513; makefile: 1,150; fortran: 696; python: 493; awk: 104; lisp: 89; xml: 27
file content (13 lines) | stat: -rw-r--r-- 200 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
# catch errors
set -e

if test x$donotrun != xtrue; then
    gerris2D $1
fi

python3 <<EOF
from check import *
from sys import *
if (Curve('e',1,2) - Curve('e.ref',1,2)).max() > 1e-3:
    exit(1)
EOF