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

Zero-length cavity #65

Open
iagapov opened this issue Jul 9, 2020 · 0 comments
Open

Zero-length cavity #65

iagapov opened this issue Jul 9, 2020 · 0 comments
Assignees

Comments

@iagapov
Copy link
Collaborator

iagapov commented Jul 9, 2020

presently zero-length cavities do bot work due to code like this in in cavity_R_z (cpbd/r_matrix.py)
r_z_e = lambda z, energy: cavity_R_z(z, V=element.v * z / element.l, E=energy, freq=element.freq,...

zero-length cavity is usual feature in storage ring simulations, should be taken into account

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