Skip to content

[QL-Balance] Run multiple periodic KIM modes with profile feedback #293

Description

@krystophny

Parent

#18

What to build

Extend the stationary periodic coupling to every configured resonant mode and repeated profile refreshes. Each mode must retain its signed identity, local validity window, magnetic-drive provenance, and response state. Diffusion tensors are accumulated incoherently on the global radial grid at the established assembly point.

Acceptance criteria

  • Every configured signed mode is located and passed to periodic KIM without absolute-value or mode-index rewriting.
  • Modes whose signed resonance is outside the profile range are rejected or explicitly reported as nonresonant.
  • Updated QL density, temperatures, safety factor, radial electric field, and other required profiles are supplied before each response refresh.
  • Per-mode local windows, fields, currents, tensors, and normalization metadata remain separate until global accumulation.
  • Independent mode diffusion tensors add incoherently; unrelated field phases are not coherently combined.
  • Overlapping local supports add transport without corrupting either mode's transition metadata.
  • Reordering an identical mode list leaves resonance locations and accumulated transport unchanged.
  • Sequential solves do not reuse stale KIM grid, plasma, field, or current state.
  • A two-mode integration test covers separated and overlapping resonances plus a profile update.
  • The delivered behavior closes the periodic-KIM portion of the multi-mode capability tracked by Reestablish multi-mode function in QL-Balance #18.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal: scheduled workReview effort 4/5enhancementNew feature or requestready-for-agentFully specified and ready for an autonomous agent

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions