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

Move Beamstrahlung and Bhabha blocks to separate functions #439

Open
giadarol opened this issue Dec 1, 2023 · 0 comments
Open

Move Beamstrahlung and Bhabha blocks to separate functions #439

giadarol opened this issue Dec 1, 2023 · 0 comments

Comments

@giadarol
Copy link
Member

giadarol commented Dec 1, 2023

These features are presently implemented as a quite large code block within the beam-beam 3d (lines 132-260):

https://github.com/xsuite/xfields/blob/c23033c37eafebb99c72cb97d5f78bdca9e7bc86/xfields/beam_elements/beambeam_src/beambeam3d.h#L132

These should be moved to a separate function to improve code readability and extendability.

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

No branches or pull requests

2 participants