[Yt-svn] commit/yt: MatthewTurk: Fixing a & z for RAMSES.
Bitbucket
commits-noreply at bitbucket.org
Fri Aug 5 08:40:03 PDT 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/bf868d1a8f02/
changeset: bf868d1a8f02
branch: stable
user: MatthewTurk
date: 2011-08-05 17:38:45
summary: Fixing a & z for RAMSES.
affected #: 1 file (0 bytes)
--- a/yt/frontends/ramses/data_structures.py Fri Aug 05 09:49:25 2011 -0400
+++ b/yt/frontends/ramses/data_structures.py Fri Aug 05 11:38:45 2011 -0400
@@ -379,7 +379,7 @@
# This is likely not true, but I am not sure how to otherwise
# distinguish them.
self.cosmological_simulation = 1
- self.current_redshift = 1.0 / (1.0 + rheader["aexp"])
+ self.current_redshift = (1.0 / rheader["aexp"]) - 1.0
self.omega_lambda = rheader["omega_l"]
self.omega_matter = rheader["omega_m"]
self.hubble_constant = rheader["H0"]
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