[yt-svn] commit/yt: brittonsmith: Updating value of solar metal mass fraction to be consistent with Cloudy.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Jun 2 14:07:17 PDT 2015


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/f000bf560943/
Changeset:   f000bf560943
Branch:      yt
User:        brittonsmith
Date:        2015-06-02 11:19:52+00:00
Summary:     Updating value of solar metal mass fraction to be consistent with Cloudy.
Affected #:  1 file

diff -r a2b03516ed2c24dff51900eec113a407dd585c1b -r f000bf5609433df69390a45396dc3fe60c87b0b5 yt/utilities/physical_ratios.py
--- a/yt/utilities/physical_ratios.py
+++ b/yt/utilities/physical_ratios.py
@@ -16,7 +16,9 @@
 mass_sun_grams = 1.98841586e33
 temp_sun_kelvin = 5870.0
 luminosity_sun_ergs_per_sec = 3.8270e33
-metallicity_sun = 0.02041
+
+# Consistent with solar abundances used in Cloudy
+metallicity_sun = 0.01295
 
 # Conversion Factors:  X au * mpc_per_au = Y mpc
 # length

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