#!/bin/csh -f
# gmres: set iterative method to GMRES

#!/bin/csh -f
if ( $#argv < 1 ) goto trunc_default
goto trunc_user

trunc_default:
cat >> itr.dat <<EOF
1 4
4 40
3 1
EOF
goto end

trunc_user:
cat >> itr.dat <<EOF
1 4 
4 $1
3 1
EOF
goto end

end:
echo Picking GMRES method
cat >! itn.dat <<EOG
gmres
EOG
