[yt-svn] commit/yt: chummels: Adding metallicity to alias fields in stream frontend.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Aug 10 19:59:24 PDT 2016


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/a46f10f9e09c/
Changeset:   a46f10f9e09c
Branch:      yt
User:        chummels
Date:        2016-08-10 05:38:48+00:00
Summary:     Adding metallicity to alias fields in stream frontend.
Affected #:  1 file

diff -r 42d65f24f2d8f10b60704b33038c976cdcf0c580 -r a46f10f9e09c7cdca438f19057a9ddd6f4361c31 yt/frontends/stream/fields.py
--- a/yt/frontends/stream/fields.py
+++ b/yt/frontends/stream/fields.py
@@ -34,6 +34,7 @@
         ("radiation_acceleration_x", ("code_length/code_time**2", ["radiation_acceleration_x"], None)),
         ("radiation_acceleration_y", ("code_length/code_time**2", ["radiation_acceleration_y"], None)),
         ("radiation_acceleration_z", ("code_length/code_time**2", ["radiation_acceleration_z"], None)),
+        ("metallicity", ("Zsun", ["metallicity"], None)),
 
         # We need to have a bunch of species fields here, too
         ("metal_density",   ("code_mass/code_length**3", ["metal_density"], None)),

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list