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

Nice interface for space charge #160

Open
jank324 opened this issue May 14, 2024 · 1 comment
Open

Nice interface for space charge #160

jank324 opened this issue May 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jank324
Copy link
Member

jank324 commented May 14, 2024

Once space charge is implemented in #142, we should add a nice interface for it. There was discussion of adding a method Element.with_space_charge in #142.

@jank324 jank324 added the enhancement New feature or request label May 14, 2024
This was referenced May 23, 2024
@cr-xu
Copy link
Member

cr-xu commented May 29, 2024

I think apart from the spliting the element in fixed number of slices, spliting a segment in equal s (some maximal step size depending on the energy or sc strength?) should also be implemented, so that the SC kicks are homogenized in case of elements with very different lengths.

This would require however also an improved implementation of individual elements.

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

No branches or pull requests

2 participants