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

Element to apply a simple x-y rotation #747

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

Conversation

cemitch99
Copy link
Member

@cemitch99 cemitch99 commented Oct 19, 2024

Per user request, this is a linear element to apply a simple rotation of the beam by a user-specified angle in the x-y plane (i.e., transverse to the velocity vector of the reference particle). Addresses Issue #744.

  • implement element initialization and particle push
  • add Python bindings
  • add example
  • add documentation

Comment on lines +116 to +117
// tout = t;
// ptout = pt;

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
@cemitch99 cemitch99 added the component: elements Elements/external fields label Oct 19, 2024
@cemitch99 cemitch99 added this to the Advanced Methods (SciDAC-5) milestone Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: elements Elements/external fields
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant