File: map-cube.sh

package info (click to toggle)
feenox 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,068 kB
  • sloc: ansic: 28,856; sh: 7,201; makefile: 556; python: 554; xml: 500
file content (26 lines) | stat: -rwxr-xr-x 552 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
for i in . tests; do
  if [ -e ${i}/functions.sh ]; then
    . ${i}/functions.sh 
  fi
done
if [ -z "${functions_found}" ]; then
  echo "could not find functions.sh"
   exit 1
fi

checkgmsh

gmsh -v 0 -3 -clmax 0.25 ${dir}/map-cube.geo -o map-cube-4.msh  || exit $?
gmsh -v 0 -3 -clmax 0.10 ${dir}/map-cube.geo -o map-cube-10.msh || exit $?

${feenox} ${dir}/map-cube-create.fee 4 || exit $?
${feenox} ${dir}/map-cube-create.fee 10 || exit $?

answerzero2 map-cube.fee 4 10 2e-2
exitifwrong $?

answerzero2 map-cube.fee 10 4
exitifwrong $?