#!/bin/bash # # -- Run the POISSON for several different currents # PROG=`basename $0` # echo Start $PROG cur1=50 cur2=1600 dcur=50 drel=0 d_exe=LANL #echo GGG=$* # ========== Help routine start help_dis () { cat <1 { if($1~/xjfact/ && cur0 != cur ){ print "xjfact="fact" ; Current scaling factor for "cur"A"; }else{ print; } }' $fnam1 > $fnam2f cd $dr dr1=all if ! test -d $dr1 ; then mkdir $dr1 fi cd $dr1 cp -a ../$fnam2 . wine ~/.wine/$d_exe/AUTOMESH.EXE $nam2 wine ~/.wine/$d_exe/POISSON.EXE $nam2 cd ../../ done done exit