Does SBEND3D use a local coordinate system, relative to the beginning of the element? If so, how is this coordinate system defined?
Is the OPAL manual's description of the LENGTHUNITS correct? When adding an SBEND3D, the diagnostic output from OPAL specifies the lengths in both 'm' and 'mm,' it seems one of these is wrong and confusing. I.e.
zini= -1.0000000000000000e+03 m; zfinal= 1.0000000000000000e+03 mmfor the input file attached.
As a test case, I have tried to propagate a beam through a simple π/6 sector (input files attached). However, the beam travels straight in the initial direction, indicating to me that my element is either the wrong size or placed incorrectly relative to the beam. Perhaps you can shed some light on what I am misunderstanding about how this element interacts with the global coordinate system.