vmec_jax.vmec_parityΒΆ
VMEC parity helper kernels.
This module provides small kernels that reproduce specific VMEC discrete
conventions used in the reference wout_*.nc outputs, as needed for parity
diagnostics.
Functions
|
Convert physical odd-m contribution to VMEC internal odd field. |
|
VMEC-consistent internal odd field for lambda (jlam). |
|
VMEC-consistent internal odd field from split odd-m contributions. |
|
Cached SignedModeMaps keyed by ModeTable. |
|
Split real-space fields into even/odd pieces for LASYM=True. |
|
Evaluate real-space fields for even-m and odd-m subsets separately. |
|
Undo VMEC's m=1 internal constraint in signed coefficient storage. |
|
NumPy host-side version of vmec_m1_internal_to_physical_signed. |
|
Apply VMEC's m=1 internal constraint in signed coefficient storage. |
Classes
|
Real-space R/Z/L fields split into VMEC even/odd-m parity pieces. |
|
Precomputed index/mask maps for signed <-> (m,n>=0) conversions. |