Skip to content

Commit

Permalink
fix Machnumber field spelling in amrex frontend for Castro
Browse files Browse the repository at this point in the history
also add abar and Ye as defined fields so they print well
  • Loading branch information
zingale committed Sep 15, 2024
1 parent 77714f7 commit 510c213
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 510c213

Please sign in to comment.