Added a step to change 3 exponent expressions into 2 exponenet

expressions.
This commit is contained in:
Harry Moffat 2004-09-16 17:13:07 +00:00
parent 7a26c6d01f
commit ac2285aa39
2 changed files with 10 additions and 3 deletions

View file

@ -2,5 +2,6 @@ Makefile
*.log
diff_test.out
gri30a.cti
gri30b.cti
gri30.cti
runtest

View file

@ -1,7 +1,6 @@
#!/bin/sh
# $Id$
#
#
BINDIR=@buildbin@
CK2CTI=$BINDIR/ck2cti
$CK2CTI -i ./gri30.inp -id gri30 -tr ./gri30_tran.dat > gri30.cti
@ -10,8 +9,15 @@ $CK2CTI -i ./gri30.inp -id gri30 -tr ./gri30_tran.dat > gri30.cti
#
cat gri30.cti | sed '1,5s/^#.*$/#/' > gri30a.cti
#
# Change all 3 character exponent expressions starting with 0
# into 2 character exponent expressions
# (MSVC++ defaults to 3, and I can't figure out how to change
# this behavior).
#
diff gri30a.cti gri30a_blessed.cti > diff_test.out
../../bin/exp3to2.sh gri30a.cti > gri30b.cti
#
#
diff gri30b.cti gri30a_blessed.cti > diff_test.out
retnStat=$?
#
if [ $retnStat = "0" ]