Skip to content

Commit

Permalink
Merge pull request #2613 from cavestruz/issue/2608/artio-with-ytep-00…
Browse files Browse the repository at this point in the history
…03-conv

Modified artio frontend fields to ytep 0003 conv: Issue/2608/artio
  • Loading branch information
neutrinoceros authored Jun 19, 2020
2 parents 19f9db7 + 8aaaed6 commit 12189b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 5 additions & 0 deletions yt/fields/field_aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@
("VorticityRPGrowthTimescale", "vorticity_radiation_pressure_growth_timescale"),
("DiskAngle", "theta"),
("Height", "height"),
("HI density", "H_density"),
("HII density", "H_p1_density"),
("HeI density", "He_density"),
("HeII density", "He_p1_density"),
("HeIII density", "He_p2_density"),
]

_field_units_aliases = [
Expand Down
11 changes: 6 additions & 5 deletions yt/frontends/artio/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ class ARTIOFieldInfo(FieldInfoContainer):
("HVAR_METAL_DENSITY_II", (rho_units, ["metal_ii_density"], None)),
("VAR_POTENTIAL", ("", ["potential"], None)),
("VAR_POTENTIAL_HYDRO", ("", ["gas_potential"], None)),
("RT_HVAR_HI", (rho_units, ["HI density"], None)),
("RT_HVAR_HII", (rho_units, ["HII density"], None)),
("RT_HVAR_HeI", (rho_units, ["HeI density"], None)),
("RT_HVAR_HeII", (rho_units, ["HeII density"], None)),
("RT_HVAR_HeIII", (rho_units, ["HeIII density"], None)),
("RT_HVAR_HI", (rho_units, ["H_density"], None)),
("RT_HVAR_HII", (rho_units, ["H_p1_density"], None)),
("RT_HVAR_H2", (rho_units, ["H2_density"], None)),
("RT_HVAR_HeI", (rho_units, ["He_density"], None)),
("RT_HVAR_HeII", (rho_units, ["He_p1_density"], None)),
("RT_HVAR_HeIII", (rho_units, ["He_p2_density"], None)),
)

known_particle_fields = (
Expand Down

0 comments on commit 12189b0

Please sign in to comment.