You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ForceFreeStates/ForceFreeStatesStructs.jl
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ A mutable struct holding data related to the singular surfaces in the equilibriu
11
11
- `n::Vector{Int}` - Toroidal mode number(s)
12
12
- `q::Float64` - Safety factor (= m/n)
13
13
- `q1::Float64` - Derivative of safety factor with respect to ψ
14
-
- `grri::Array{Float64,2}` - Interior Green's function at this surface [2*mthvac, 2*mpert]
15
-
- `grre::Array{Float64,2}` - Exterior Green's function at this surface [2*mthvac, 2*mpert]
14
+
- `grri::Array{ComplexF64,2}` - Interior Green's function at this surface [mthvac, mpert]
15
+
- `grre::Array{ComplexF64,2}` - Exterior Green's function at this surface [mthvac, mpert]
16
16
- `delta_prime::Vector{ComplexF64}` - **STUB (not physically valid)**. Per-surface ca-based Δ' estimate retained for future work / debugging only. The physically valid Δ' is `ForceFreeStatesInternal.delta_prime_matrix`, computed via the STRIDE global BVP (Glasser 2018 PoP 25, 032501). Do not use this field for tearing-stability analysis; do not expect agreement with `delta_prime_matrix`.
17
17
- `delta_prime_col::Matrix{ComplexF64}` - **STUB (not physically valid)**. Per-surface ca-based Δ' column retained for future work / debugging only. Shape (numpert_total × n_res_modes); `delta_prime_col[j, i] = (ca_r[j,ipert_res_i,2] - ca_l[j,ipert_res_i,2]) / (4π²·psio)`. The diagonal element matches the (also stubbed) `delta_prime[i]`. Only populated for the Riccati/parallel FM paths. The physically valid Δ' is `ForceFreeStatesInternal.delta_prime_matrix`; this field exists for future development on intra-surface coupling diagnostics, not for production use.
18
18
"""
@@ -23,8 +23,8 @@ A mutable struct holding data related to the singular surfaces in the equilibriu
ua_left::Array{ComplexF64,3}=Array{ComplexF64}(undef, 0, 0, 0) # asymptotic basis at left inner-layer boundary
@@ -410,8 +410,8 @@ Populated in `Free.jl`.
410
410
- `et::Vector{ComplexF64}` - Total energy eigenvalues of the pencil (W, N): power-normalized and invariant to the working (Jacobian) coordinate; et = ep + ev per mode
411
411
- `n_tor_idx::Vector{Int}` - 0-based toroidal mode number index of each sorted eigenvalue (numpert_total). Needed in `write_imas`
412
412
- `vacuum_eigenvalue::Float64` - Least stable (minimum) eigenvalue of the pencil (wv, N), clamped to zero
0 commit comments