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 $?
|