Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multipole Elegant vs MADx #65

Open
tomerten opened this issue Jul 3, 2020 · 0 comments
Open

Multipole Elegant vs MADx #65

tomerten opened this issue Jul 3, 2020 · 0 comments

Comments

@tomerten
Copy link

tomerten commented Jul 3, 2020

Multipoles are very differently implemented:

When I convert from madx or elegant returns "2 different lattice json file, we should discuss which one we want to keep and adapt the converters and parsers. So converting back to elegant and madx is return false formats - in the example below elegant is correct madx is faulty:

to madx

OXX: MULTIPOLE, L=0.0, KNL=-679.686, BOE=3;
OXY: MULTIPOLE, L=0.0, KNL=1331.5866, BOE=3;
OYY: MULTIPOLE, L=0.0, KNL=-617.0892, BOE=3;

should be

oxx    : multipole, knl={0,0,0,-679.6860};
oxy    : multipole, knl={0,0,0,1331.5866};
oyy    : multipole, knl={0,0,0,-617.0892};

to elegant

OXX: MULT, L=0.0, KNL=-679.686, ORDER=3
OXY: MULT, L=0.0, KNL=1331.5866, ORDER=3
OYY: MULT, L=0.0, KNL=-617.0892, ORDER=3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant