Test of exact energy dependence of KQUAD and EDRIFT elements.

genbeam.ele
        Generate a beam with p=100
run0.ele
        Run through beamline with pcentral=100
run1.ele
        Run with pcentral=50, but double the K1 on the quad
run2.ele
        Run with pcentral=500, but multiply K1 by 0.2

elegant genbeam.ele
elegant run0.ele
elegant run1.ele
elegant run2.ele

Verify the off-momentum setup
sddsplot -column=s,Cdelta run?.cen -graph=line,vary 

Check beam sizes
sddsplot -column=s,Sx run?.sig -graph=line,vary 

Check x-x' phase space
sddsplot -column=x,xp run?.out -graph=dot,vary 

