[yt-svn] commit/yt: 4 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Jul 8 08:02:54 PDT 2013
4 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/dc578c93d942/
Changeset: dc578c93d942
Branch: yt
User: ngoldbaum
Date: 2013-06-30 11:32:59
Summary: Fixing a comment in physical_constants.py
Affected #: 1 file
diff -r 62e723e2f60c980f48fca5f76f5fdd8862945b98 -r dc578c93d942e2c892831edaeedfb11803467096 yt/utilities/physical_constants.py
--- a/yt/utilities/physical_constants.py
+++ b/yt/utilities/physical_constants.py
@@ -26,7 +26,7 @@
gravitational_constant_cgs = 6.67428e-8 # cm^3 g^-1 s^-2
planck_constant_cgs = 6.62606896e-27 # erg s
stefan_boltzmann_constant_cgs = 5.67051e-5 # erg cm^-2 s^-1 K^-4
-rho_crit_now = 1.8788e-29 # g times h^2 (critical mass for closure, Cosmology)
+rho_crit_now = 1.8788e-29 # g/cm^3/h^2 (critical mass for closure, Cosmology)
# Misc. Approximations
mass_mean_atomic_cosmology = 1.22
https://bitbucket.org/yt_analysis/yt/commits/7678a3f41321/
Changeset: 7678a3f41321
Branch: yt
User: ngoldbaum
Date: 2013-06-30 11:41:22
Summary: Fixing the explanatory comment as well.
Affected #: 1 file
diff -r dc578c93d942e2c892831edaeedfb11803467096 -r 7678a3f413216898b2628c51556ade125b2d3db8 yt/utilities/physical_constants.py
--- a/yt/utilities/physical_constants.py
+++ b/yt/utilities/physical_constants.py
@@ -26,7 +26,7 @@
gravitational_constant_cgs = 6.67428e-8 # cm^3 g^-1 s^-2
planck_constant_cgs = 6.62606896e-27 # erg s
stefan_boltzmann_constant_cgs = 5.67051e-5 # erg cm^-2 s^-1 K^-4
-rho_crit_now = 1.8788e-29 # g/cm^3/h^2 (critical mass for closure, Cosmology)
+rho_crit_now = 1.8788e-29 # g/cm^3/h^2 (cosmological critical density)
# Misc. Approximations
mass_mean_atomic_cosmology = 1.22
https://bitbucket.org/yt_analysis/yt/commits/e57c0ae480c4/
Changeset: e57c0ae480c4
Branch: yt
User: ngoldbaum
Date: 2013-07-01 20:35:02
Summary: Adding some explanatory text for the units of rho_crit_now.
Affected #: 1 file
diff -r 7678a3f413216898b2628c51556ade125b2d3db8 -r e57c0ae480c40fa300153836be43b7d47b548d32 yt/utilities/physical_constants.py
--- a/yt/utilities/physical_constants.py
+++ b/yt/utilities/physical_constants.py
@@ -26,7 +26,13 @@
gravitational_constant_cgs = 6.67428e-8 # cm^3 g^-1 s^-2
planck_constant_cgs = 6.62606896e-27 # erg s
stefan_boltzmann_constant_cgs = 5.67051e-5 # erg cm^-2 s^-1 K^-4
-rho_crit_now = 1.8788e-29 # g/cm^3/h^2 (cosmological critical density)
+# The following value was calcualted assuming H = 100 km/s/Mpc.
+# To get the correct value for your cosmological parameters,
+# you'll need to multiply through by h^2
+# [where h = H / (100 km/s/Mpc)]. See the Overdensity field in
+# yt.data_objects.universal_fields.
+rho_crit_now = 1.8788e-29 # g/cm^3 (cosmological critical density)
+
# Misc. Approximations
mass_mean_atomic_cosmology = 1.22
https://bitbucket.org/yt_analysis/yt/commits/0f59ef0d7dc6/
Changeset: 0f59ef0d7dc6
Branch: yt
User: brittonsmith
Date: 2013-07-08 17:02:49
Summary: Merged in ngoldbaum/yt (pull request #539)
Fixing a comment in physical_constants.py
Affected #: 1 file
diff -r 432d2a1883d262ad9ada8d98dd36fbe638fa45b1 -r 0f59ef0d7dc696a4c8fdab557eb544ca87942b6c yt/utilities/physical_constants.py
--- a/yt/utilities/physical_constants.py
+++ b/yt/utilities/physical_constants.py
@@ -26,7 +26,13 @@
gravitational_constant_cgs = 6.67428e-8 # cm^3 g^-1 s^-2
planck_constant_cgs = 6.62606896e-27 # erg s
stefan_boltzmann_constant_cgs = 5.67051e-5 # erg cm^-2 s^-1 K^-4
-rho_crit_now = 1.8788e-29 # g times h^2 (critical mass for closure, Cosmology)
+# The following value was calcualted assuming H = 100 km/s/Mpc.
+# To get the correct value for your cosmological parameters,
+# you'll need to multiply through by h^2
+# [where h = H / (100 km/s/Mpc)]. See the Overdensity field in
+# yt.data_objects.universal_fields.
+rho_crit_now = 1.8788e-29 # g/cm^3 (cosmological critical density)
+
# Misc. Approximations
mass_mean_atomic_cosmology = 1.22
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