Skip to content

Commit

Permalink
Fix math comment
Browse files Browse the repository at this point in the history
  • Loading branch information
unalmis committed Dec 19, 2024
1 parent 4097aa8 commit 30988de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions desc/compute/_fast_ion.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _Gamma_c(params, transforms, profiles, data, **kwargs):
)

def Gamma_c(data):
"""∫ dλ ∑ⱼ [v τ γ_c²]ⱼ π²/4."""
"""∫ dλ ∑ⱼ [v τ γ_c²]ⱼ π²/4."""
bounce = Bounce2D(
grid,
data,
Expand Down Expand Up @@ -297,7 +297,7 @@ def _Gamma_c_Velasco(params, transforms, profiles, data, **kwargs):
)

def Gamma_c(data):
"""∫ dλ ∑ⱼ [v τ γ_c²]ⱼ π²/4."""
"""∫ dλ ∑ⱼ [v τ γ_c²]ⱼ π²/4."""
bounce = Bounce2D(
grid,
data,
Expand Down
2 changes: 1 addition & 1 deletion desc/compute/_neoclassical.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _epsilon_32(params, transforms, profiles, data, **kwargs):
)

def eps_32(data):
"""(∂ψ/∂ρ)⁻² B₀⁻³ ∫ dλ λ⁻² ∑ⱼ Hⱼ²/Iⱼ."""
"""(∂ψ/∂ρ)⁻² B₀⁻³ ∫ dλ λ⁻² ∑ⱼ Hⱼ²/Iⱼ."""
# B₀ has units of λ⁻¹.
# Nemov's ∑ⱼ Hⱼ²/Iⱼ = (∂ψ/∂ρ)² (λB₀)³ ``(H**2 / I).sum(axis=-1)``.
# (λB₀)³ d(λB₀)⁻¹ = B₀² λ³ d(λ⁻¹) = -B₀² λ dλ.
Expand Down

0 comments on commit 30988de

Please sign in to comment.