#!/bin/sh
#cd ../src
#make
rm -f tec*.out proc*.out tecplot*.dat tecplot.phy tp????????? tecplot*.gif
rm -f current*.lay expor*.eps
cd ../multigrid
rm -f mg
#rm -f *.o mg
make
./mg $*
for f in tecplot*.dat; do
        base=`basename $f .dat`
        tec2gif $f contours.lay 100
        mv $f.gif $base.gif
done
