iagapov / ocelot

Main repository moved to https://github.com/ocelot-collab/ocelot
GNU General Public License v3.0
8 stars 11 forks source link

add_edges and check_edges -- does not work for sbend #30

Closed iagapov closed 9 years ago

iagapov commented 9 years ago

thus optics for bend and sbend not the same

sergey-tomin commented 9 years ago

Yes. I don't remember reasons but we introduced Bend exactly for these purposes. Now Bend is the same as SBend but with possibility of changing entrance /exit angles. It looks strange but maybe it is connected with mad-x or mad8 compatibility.

iagapov commented 9 years ago

I don't understand your comment. Please look into functions add_edges and check_eges -- sbend and bend are not the same.

sergey-tomin commented 9 years ago

added edges for sbend.