Skip to content

Commit

Permalink
Correct docstring and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
amrueda committed Dec 17, 2024
1 parent 3e5e2c2 commit 59a9a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/equations/ideal_glm_mhd_multiion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ end
dissipation[ind_E] -= 0.5f0 * λ * h_B_psi * B3_avg * (w_rr[3] - w_ll[3])
dissipation[ind_E] -= 0.5f0 * λ * h_B_psi * psi_avg * (w_rr[end] - w_ll[end])

# Dissipation for the energy equation of all ion species depending on w_5. These are the values of the dissipation
# Dissipation for the energy equation of all ion species depending on `w_5`. These are the values of the dissipation
# vector that depend on the magnetic and divergence-cleaning field terms of the entries marked with a red cross in
# Figure 1 of the reference given above.
for kk in eachcomponent(equations)
Expand Down
2 changes: 1 addition & 1 deletion src/equations/numerical_fluxes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ flux_es = FluxPlusDissipation(flux_ec, DissipationLaxFriedrichsEntropyVariables(
In particular, the numerical flux has the form
```math
f^{\\mathrm{ES}} = f^{\\mathrm{EC}} + \\frac{1}{2} \\lambda_{\\mathrm{max}} H (w_r - w_l),
f^{\\mathrm{ES}} = f^{\\mathrm{EC}} - \\frac{1}{2} \\lambda_{\\mathrm{max}} H (w_r - w_l),
````
where ``f^{\\mathrm{EC}}`` is the entropy-conservative two-point flux function (computed with, e.g., `flux_ec`), ``\\lambda_{\\mathrm{max}}``
is the maximum wave speed estimated as `max_abs_speed(u_l, u_r, orientation_or_normal_direction, equations)`,
Expand Down

0 comments on commit 59a9a5b

Please sign in to comment.