Skip to content

Commit

Permalink
Fix latex labels of F_anisotropic, B_phi|r,t and Bat axis
Browse files Browse the repository at this point in the history
  • Loading branch information
unalmis committed Aug 28, 2024
1 parent c7837ae commit b348886
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion desc/compute/_equil.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def _e_sup_helical_times_sqrt_g_mag(params, transforms, profiles, data, **kwargs

@register_compute_fun(
name="F_anisotropic",
label="F_{anisotropic}",
label="F_{\\mathrm{anisotropic}}",
units="N \\cdot m^{-3}",
units_long="Newtons / cubic meter",
description="Anisotropic force balance error",
Expand Down
4 changes: 2 additions & 2 deletions desc/compute/_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -1644,7 +1644,7 @@ def _B_sub_zeta(params, transforms, profiles, data, **kwargs):

@register_compute_fun(
name="B_phi|r,t",
label="B_{\\phi} = B \\dot \\mathbf{e}_{\\phi} |_{\\rho, \\theta}",
label="B_{\\phi} = B \\cdot \\mathbf{e}_{\\phi} |_{\\rho, \\theta}",
units="T \\cdot m",
units_long="Tesla * meters",
description="Covariant toroidal component of magnetic field in (ρ,θ,ϕ) "
Expand Down Expand Up @@ -2269,7 +2269,7 @@ def _B_sub_zeta_rz(params, transforms, profiles, data, **kwargs):

@register_compute_fun(
name="<|B|>_axis",
label="\\lange |\\mathbf{B}| \\rangle_{axis}",
label="\\langle |\\mathbf{B}| \\rangle_{axis}",
units="T",
units_long="Tesla",
description="Average magnitude of magnetic field on the magnetic axis",
Expand Down

0 comments on commit b348886

Please sign in to comment.