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

Add exact drift element and map #66

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

nikitakuklev
Copy link

Pull request includes exact drift element, map, and test cases. Tracking results match MADX. Also, small fix to coupler kick, such that it is not used when no energy is specified.

Weirdly, many unrelated tests fail due to numerical precision issues, i.e.
r_matrix - matrix element (0, 5)\n value is "3.469446951953614e-17"\n reference value is "2.6237692574149207e-17"\n tolerance is "1e-07"\n tolerance type is "relative"
in unit_tests\ebeam_test\acc_utils\acc_utils_test.py:14

I suspect this is due to platform/BLAS library differences, but please double check.

@sergey-tomin
Copy link
Collaborator

Hi Nikita, thanks for the pull request. We'll look at it after the major code refactoring we're doing right now.

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

Successfully merging this pull request may close these issues.

None yet

2 participants