Skip to content

Commit

Permalink
Merge pull request #4994 from zingale/fix_castro_fields
Browse files Browse the repository at this point in the history
fix Machnumber field spelling in amrex frontend for Castro
  • Loading branch information
neutrinoceros authored Sep 18, 2024
2 parents 51c845d + 510c213 commit 43af362
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yt/frontends/amrex/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ class CastroFieldInfo(FieldInfoContainer):
("erg/cm**3", ["kinetic_energy_density"], r"\frac{1}{2}\rho|\mathbf{U}|^2"),
),
("soundspeed", ("cm/s", ["sound_speed"], "Sound Speed")),
("Machnumber", ("", ["mach_number"], "Mach Number")),
("MachNumber", ("", ["mach_number"], "Mach Number")),
("abar", ("", [], r"$\bar{A}$")),
("Ye", ("", [], r"$Y_e$")),
("entropy", ("erg/(g*K)", ["entropy"], r"s")),
("magvort", ("1/s", ["vorticity_magnitude"], r"|\nabla \times \mathbf{U}|")),
("divu", ("1/s", ["velocity_divergence"], r"\nabla \cdot \mathbf{U}")),
Expand Down

0 comments on commit 43af362

Please sign in to comment.