echo elegant run for testing FMULT

#run elegant
elegant Test.ele

#plot the beta and alpha functions
#Run1 with the FMULT element
#Run2 with a normal QUAD element

sddsplot -layout=1,2 -sever -legend -graph=line,vary -col=s,beta* -col=s,alpha*  -Title=" Run1 Bemaline1 FMULT"  test_BL1.twi -col=s,Profile test_BL1.mag -end -col=s,beta* -col=s,alpha*  -Title="Run2 Beamline2 Quad"  test_BL2.twi -col=s,Profile test_BL2.mag -end

sddsplot -layout=1,2 -sever -legend -graph=line,vary -col=s,eta*  -Title=" Run1 Bemaline1 FMULT"  test_BL1.twi -col=s,Profile test_BL1.mag -end -col=s,eta*  -Title="Run2 Beamline2 Quad"  test_BL2.twi -col=s,Profile test_BL2.mag -end

sddsplot -layout=1,2 -sever -legend -graph=line,vary -col=s,psi*  -Title=" Run1 Bemaline1 FMULT"  test_BL1.twi -col=s,Profile test_BL1.mag -end -col=s,psi*  -Title="Run2 Beamline2 Quad"  test_BL2.twi -col=s,Profile test_BL2.mag -end

echo run done