Skip to content

Remove the retired g_actual and bend_field_actual#72

Merged
DavidSagan merged 1 commit into
mainfrom
retire-actual-bend-field
Jul 23, 2026
Merged

Remove the retired g_actual and bend_field_actual#72
DavidSagan merged 1 commit into
mainfrom
retire-actual-bend-field

Conversation

@DavidSagan

Copy link
Copy Markdown
Member

bend.md decoupled the actual bend field from the reference one in pals#262: the field the particle actually sees is Bn0/Kn0 of MagneticMultipoleP, defaulted from g_ref/Bn0_ref when Kn0_from_g_ref is set. g_actual and bend_field_actual are no longer BendP parameters at all.

They were still in the checker's BendP vocabulary, so a lattice using either name passed the spelling check in silence, and resolve_bend still linked the pair through the momentum factor. Both are removed, and a lattice still carrying them is now told the names are unknown.

The Kn0_from_g_ref defaulting itself is not implemented here — this only retires the names the standard dropped. 168 tests pass.

🤖 Generated with Claude Code

bend.md decoupled the actual bend field from the reference one: the
field the particle sees is Bn0/Kn0 of MagneticMultipoleP, defaulted
from g_ref when Kn0_from_g_ref is set. Neither name is a BendP
parameter any more, so drop them from the checker's vocabulary -- they
were passing the spelling check in silence -- and from resolve_bend.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@DavidSagan
DavidSagan merged commit ca2f8c4 into main Jul 23, 2026
3 checks passed
@DavidSagan
DavidSagan deleted the retire-actual-bend-field branch July 23, 2026 02:58
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.

1 participant