Skip to content

Commit 349a0c2

Browse files
authored
KineticForces - BUGFIX! - Drop the spurious major radius from the omega_D prefactor (#391)
2 parents 044de7e + ce262dd commit 349a0c2

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/KineticForces/BounceAveraging.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,9 +632,13 @@ function _bounce_integrate(
632632
return 0.0, 0.0, 0.0, nothing
633633
end
634634

635-
# Bounce-averaged frequencies
635+
# Bounce-averaged frequencies. wbbar already carries one factor of ro that its own
636+
# normalization bhat = sqrt(2T/m)/ro cancels; reusing it inside wdbar imports that ro
637+
# a third time while dhat = (T/q)/(bo·ro²) removes only the two written explicitly, so
638+
# the drift prefactor takes ro, not ro². (Otherwise ω_D = wdbar·dhat carries a surplus
639+
# length: 4π·(I₂/I₁)·(T/q) is already V/Wb = 1/s, so the extra ro leaves m/s.)
636640
wbbar = ro * twopi / ((2 - sigma) * total_wb)
637-
wdbar = ro^2 * bo * wdfac * wbbar * 2 * (2 - sigma) * total_wd
641+
wdbar = ro * bo * wdfac * wbbar * 2 * (2 - sigma) * total_wd
638642

639643
# Phase factor pl_i = exp(-2πi·lnq·fsi_wb(θ_i)/((2-σ)·total_wb)), using the
640644
# cumulative spline integral of the bounce action.

0 commit comments

Comments
 (0)