FIELD variable=Ey xlo=0 xhi=xsize ylo=0 yhi=ysize zlo=0, zhi=zsize phase=0.25*cycle state=steady file=Dipole2I_eyq FIELD variable=Ez xlo=0 xhi=xsize ylo=0 yhi=ysize zlo=0, zhi=zsize phase=0 state=steady file=Dipole2I_ezi
FIELD variable=Ez xlo=0 xhi=xsize ylo=0 yhi=ysize zlo=0, zhi=zsize phase=0.25*cycle state=steady file=Dipole2I_ezq FIELD variable=hx xlo=0 xhi=xsize ylo=0 yhi=ysize zlo=0, zhi=zsize phase=0 state=steady file=Dipole2I_hxI
FIELD variable=hx xlo=0 xhi=xsize ylo=0 yhi=ysize zlo=0, zhi=zsize phase=0.25*cycle state=steady file=Dipole2I_hxq FIELD variable=hy xlo=0 xhi=xsize ylo=0 yhi=ysize zlo=0, zhi=zsize phase=0 state=steady file=Dipole2I_hyi
FIELD variable=hy xlo=0 xhi=xsize ylo=0 yhi=ysize zlo=0, zhi=zsize phase=0.25*cycle state=steady file=Dipole2I_hyq FIELD variable=hz xlo=0 xhi=xsize ylo=0 yhi=ysize zlo=0, zhi=zsize phase=0 state=steady file=Dipole2I_hzi
FIELD variable=hz xlo=0 xhi=xsize ylo=0 yhi=ysize zlo=0, zhi=zsize phase=0.25*cycle state=steady file=Dipole2I_hzq
END
OPTIMIZE
VARIABLES ZRakeUM ZL DipoleLengthUM /* variables to be minimized over, in penalty function */ GUESS ZRakeUM =
GUESS ZRakeUM
/* one guess normally comes from the original definition of /* the variables used in the penalty function. This allows /* you to supply more.
STORE Dipole2I.simplex MERIT diss*1e12
PARAMETERS iterations=35
56