Skip to content

Beam-Beam Kernel with test#169

Draft
RevanEoot wants to merge 19 commits intobmad-sim:mainfrom
RevanEoot:main
Draft

Beam-Beam Kernel with test#169
RevanEoot wants to merge 19 commits intobmad-sim:mainfrom
RevanEoot:main

Conversation

@RevanEoot
Copy link
Copy Markdown

  • Added beam-beam kernel
  • Added SpecialFunctions and Roots for beam-beam tracking
  • Added a single test

The current tests are failing, so I will continue to update until tests pass.

@RevanEoot
Copy link
Copy Markdown
Author

Current tests are off by a lot from Bmad. I'm trying to find where the numbers are deviating, but I suspect it's coming from the collision point calculation.

@RevanEoot RevanEoot marked this pull request as draft September 16, 2025 06:33
@RevanEoot
Copy link
Copy Markdown
Author

Fixefdbeambeam kernel and added extensive tests for particle tracking. The tests don't always pass for phase space z due to a problem with the exact_drift kernel.
I will soon have tests for the TPS functionality.
I will also be adding the crossing angle.

@mattsignorelli
Copy link
Copy Markdown
Member

Can you provide a minimal working example (no beam-beam) where exact_drift disagrees with Bmad?

@RevanEoot
Copy link
Copy Markdown
Author

Collision point calculation now uses a formula rather than root finder and all tests are passing. TPS tracking agrees on zero orbit, but disagrees off the zero orbit. This is likely a result of something within the kick calculation, but I don't know the exact origin at the moment.

Evan Navar Root added 2 commits February 26, 2026 22:49
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.

2 participants