Skip to content

Add direct EQDSK equilibrium and perturbation-field inputs - #99

Open
krystophny wants to merge 1 commit into
fix/zero-rotation-resonancefrom
agent/direct-eqdsk-field-core
Open

Add direct EQDSK equilibrium and perturbation-field inputs#99
krystophny wants to merge 1 commit into
fix/zero-rotation-resonancefrom
agent/direct-eqdsk-field-core

Conversation

@krystophny

@krystophny krystophny commented Jul 26, 2026

Copy link
Copy Markdown
Member

Summary

  • add direct axisymmetric GEQDSK input (inp_swi=11) in native geometric coordinates
  • add direct complex R-Z perturbation input (inp_swi_pert=11)
  • retain independent switches for the supported Boozer chartmap + .bc path
  • reject mixed direct/Boozer coordinate charts deterministically
  • preserve signed GEQDSK pitch, flux, Jacobian, and field-line-label drift projection

Scope cleanup

The branch is one focused direct-field commit. Formerly bundled converters, signed POTATO modes, zero-rotation handling, and bracketing are separate PRs #102, #105, #104, and #103. The pre-existing Boozer Fourier and POTATO representation fixes are #106 and #107.

Validation

  • full cumulative fo pipeline passes
  • independent GEQDSK pitch/Jacobian/flux and R-Z perturbation tests pass
  • legacy Boozer behavior is bit-for-bit identical to main at four ITER TC24 surfaces with both old and canonical profile/plasma inputs

Stack: #104 -> this PR. This PR itself does not alter the Boozer/Boozer production path.

@krystophny krystophny left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed latest 1e0b622d. This is now the bounded direct-field core: independent equilibrium/perturbation switches, native EQDSK field use, geometric toroidal phase mapping, and validated root-domain limits. Current main is an ancestor. The integrated stack passes the complete fo pipeline; no curve-selected sign or phase is introduced. No blocking finding.

@krystophny
krystophny force-pushed the agent/direct-eqdsk-field-core branch from 98abddd to 3627bab Compare July 27, 2026 06:09
@krystophny
krystophny changed the base branch from main to fix/zero-rotation-resonance July 27, 2026 06:10
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